Commit Graph

1144 Commits

Author SHA1 Message Date
Preston Holmes b17a572eb3 [1.5.x] Fixed #19868 -- Clarified purpose of custom user example 2013-02-20 15:34:22 -08:00
Stefan "hr" Berder 4f99b0b635 [1.5.X] Fixed typo in docs/topics/class-based-views/generic-display.txt
Backport of 22d5e4b4af from master
2013-02-19 16:32:59 -05:00
Aymeric Augustin 3ef4bbf495 [1.5.x] Added a default limit to the maximum number of forms in a formset.
This is a security fix. Disclosure and advisory coming shortly.
2013-02-19 10:39:04 -07:00
Carl Meyer a7e33c5bf3 [1.5.x] Added a new required ALLOWED_HOSTS setting for HTTP host header validation.
This is a security fix; disclosure and advisory coming shortly.
2013-02-19 10:39:03 -07:00
Tim Graham 5d853db90e [1.5.X] Fixed #19717 - Removed mentions of "root QuerySet" in docs.
Thanks julien.aubert.mail@ for the report and James Pic for the patch.

Backport of 64d0f89ab1 from master
2013-02-18 09:36:49 -05:00
Alex Hunley 5c3c8bf09a [1.5.x] Fixed #19719 - Removed misleading example from ModelForm documentation
Backport of 976dc07baf from master
2013-02-16 18:05:35 -05:00
Russell Keith-Magee 461d6e2295 [1.5.x] Refs #14881 -- Document that User models need to have an integer primary key.
Thanks to Kaloian Minkov for the reminder about this undocumented requirement.

(cherry picked from commit 91c26eadc9)
2013-02-16 10:21:45 +08:00
Russell Keith-Magee bc6746ac30 [1.5.x] Fixed #19822 -- Added validation for uniqueness on USERNAME_FIELD on custom User models.
Thanks to Claude Peroz for the draft patch.

(cherry picked from commit f5e4a699ca)
2013-02-15 09:02:14 +08:00
Ramiro Morales 89ce55b301 [1.5.x] Mention backward relationships in aggregate docs.
Thanks Anssi and Marc Tamlyn for reviewing.

Fixes #19803.

0560bfb705 from master.
2013-02-14 20:47:04 -03:00
Ramiro Morales e7ab0d35c1 [1.5.x] Typo in i18n docs.
112c6e987d from master.
2013-02-14 20:46:27 -03:00
Claude Paroz cfdc003ab7 [1.5.x] Fixed #19823 -- Fixed memcached code example in cache docs
Backport of 668d0b8d from master.
2013-02-14 11:25:07 +01:00
Tim Graham a81363d85a [1.5.x] Fixed #19756 - Corrected a ManyToMany example and added some links and markup.
Backport of 43efefae69 from master
2013-02-07 07:03:46 -05:00
Tim Graham 3b952123ac [1.5.x] Fixed #19743 - Documented some limitations of contrib.auth.
Thanks Aymeric for the suggestion.

Backport of afa3e16334 from master
2013-02-06 08:27:53 -05:00
Tim Graham 6155b66d06 [1.5.x] Fixed a typo in docs/topics/auth/customizing.txt
Backport of 2c173ff3b4 from master
2013-02-03 13:24:09 -05:00
Tim Graham f28fbe7314 [1.5.x] Fixed #19700 - Added documentation for BoundField.field.
Thanks Tiberiu Ana for the report and patch.

Backport of fdaaa24171 from master
2013-02-02 08:38:02 -05:00
Lucian Ursu a22480797d [1.5.x] Fixed #19690 - Removed unused import in doc examples.
Backport of c6560e4843 from master
2013-02-01 14:19:04 -10:00
Ramiro Morales 73bb9664da Enhanced traanslator comments documentation.
Partial (docs only) backport of 47ddd6a from master.
2013-01-31 10:58:05 -03:00
Aymeric Augustin 11ec0253ab [1.5.x] Fixed #19692 -- Completed deprecation of mimetype in favor of content_type.
Thanks Tim for the report and initial patch.

Backport of 89cb771 from master.
2013-01-31 13:55:00 +01:00
Tim Graham 5da6ce11ed [1.5.x] Fixed typos in docs and comments
Backport of ee26797cff from master
2013-01-29 10:58:24 -07:00
Tim Graham f6075b0596 [1.5.x] Fixed #19683 - Added a missing import in signing example.
Thanks sunsongxp@ for the report.

Backport of 537d44b1b9 from master
2013-01-29 06:13:47 -05:00
Justin Bronn 1c061ef568 [1.5.x] Fixed typo.
Backport of 71c8539570 from master
2013-01-23 19:21:42 -05:00
Tim Graham 2e6b0c5ca7 [1.5.x] Fixed #19610 - Added enctype note to forms topics doc.
Thanks will@ for the suggestion.

Backport of 0de2645c00 from master
2013-01-23 04:50:24 -05:00
Tim Graham 34718395ed [1.5.x] Fixed #19640 - Added inlineformset_factory to reference docs.
Thanks wim@ for the suggestion.

Backport of 5b2d9bacd2 from master
2013-01-22 07:58:09 -05:00
Tim Graham f6257a147d [1.5.x] Fixed #19628 - Noted that app for custom user model must be in INSTALLED_APPS
Thanks dpravdin and Jordan Messina.

Backport of 0375244eae from master
2013-01-18 18:39:29 -05:00
Aymeric Augustin d90abcc9da [1.5.x] Fixed #19632 -- Bug in code sample.
Thanks grossmanandy at bfusa com and Simon Charette.

Backport of 1dd7492.
2013-01-18 20:52:25 +01:00
Aymeric Augustin 6428f1cb72 [1.5.x] Fixed #19614 -- Missing request argument in render call.
Thanks Dima Pravdin for the report.

Backport of 74d72e2.
2013-01-15 14:37:25 +01:00
Tim Graham 360676d9d8 [1.5.x] Fixed #19605 - Removed unused url imports from doc examples.
Thanks sergzach for the suggestion.

Backport of 43f89e0ad6 from master
2013-01-15 07:52:06 -05:00
Vinod Kurup 863e0ab57d [1.5.x] Fixed code examples in which render() calls were missing `request` parameter.
5362134090 from master.
2013-01-14 09:50:58 -03:00
Tim Graham c94fcc4117 [1.5.x] Fixed #10239 - Added docs for modelform_factory
Thanks ingenieroariel for the suggestion and slurms for the review.

Backport of 71d76ec011 from master
2013-01-11 06:01:19 -05:00
Preston Holmes f02e1167d7 [1.5.x] Fixed #19562 -- cleaned up password storage docs
Conflicts:

	docs/topics/auth/passwords.txt
2013-01-04 18:04:28 -08:00
Tim Graham be1e006c58 [1.5.x] Fixed #19516 - Fixed remaining broken links.
Added -n to sphinx builds to catch issues going forward.

Backport of 9b5f64cc6e from master.
2013-01-02 18:50:00 -05:00
Tim Graham da2cdd3a0f [1.5.X] Fixed #19549 - Typo in docs/topics/auth/default.txt
Backport of 695b2089e7 from master
2013-01-02 15:33:58 -05:00
Tim Graham 9e5ada79bf [1.5.x] Fixed broken links, round 4. refs #19516
Backport of 067505ad19 from master
2012-12-29 15:57:57 -05:00
Preston Holmes 8d1b190248 [1.5.x] Fixed #19498 -- refactored auth documentation
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:48:05 -08:00
Tim Graham fbc06eef1a [1.5.X] Fixed broken links, round 3. refs #19516
Backport of b3a8c9dab8 from master
2012-12-26 19:10:50 -05:00
Tim Graham 5489fc47df [1.5.X] Fixed links to DATABASE ENGINE setting. refs #19516
Backport of f56f6cfa58 from master
2012-12-24 15:40:17 -05:00
Ramiro Morales 903892be7b [1.5.x] Fixed #19497 -- Refactored testing docs.
Thanks Tim Graham for the review and suggestions.

d19109fd37 from master.
2012-12-22 12:39:49 -03:00
Tim Graham 91af9230ad [1.5.X] Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.

Backport of 52a2588df6 from master
2012-12-21 15:53:23 -05:00
Tim Graham e11bd5c5ac [1.5.X] Fixed #19442 - Clarified that raw SQL must be committed.
Thanks startup.canada for the suggestion.

Backport of 31f49f1396 from master
2012-12-18 08:14:37 -05:00
Tim Graham 2545dc59bf [1.5.x] Fixed #17312 - Warned about database side effects in tests.
Thanks jcspray for the suggestion.

Backport of 7df03268a4 from master.
2012-12-18 08:05:12 -05:00
Tim Graham 528483cae2 [1.5.X] Fixed #19279 - Clarified order of database setup and Django install.
Thanks colinnkeenan for the suggestion.

Backport of 72a6ac568d from master
2012-12-16 15:46:17 -05:00
Russell Keith-Magee 311bd0055d [1.5.X} Fixed #19412 -- Added PermissionsMixin to the auth.User heirarchy.
This makes it easier to make a ModelBackend-compliant (with regards to
permissions) User model.

Thanks to cdestigter for the report about the relationship between
ModelBackend and permissions, and to the many users on django-dev that
contributed to the discussion about mixins.

Backport of 47e1df896b from master.
2012-12-15 22:47:48 +08:00
Russell Keith-Magee a7465ee7df [1.5.X] Fixed #19472 -- Documented the testing requirements and tools for custom User models.
Thanks to gcc for the report.

Backport of bd414aed01 from master.
2012-12-15 22:47:30 +08:00
Russell Keith-Magee 9cf566233b [1.5.X] Fixed #19384 -- Documented the behavior of custom managers on abstract models.
This documents the behavior introduced by cc337a74, which is BACKWARDS
INCOMPATIBLE for any attempt to invoke a method on a manager using the
abstract class as the calling class (e.g., AbstractBase.objects.do_something())

Thanks to mhsparks for the report.

Backport of 1b646e656e from master.
2012-12-15 22:46:55 +08:00
Ben Longden 0c3e4848b6 [1.5.X] Removed PHP references
Backport of 55a2d5b577 from master
2012-12-14 19:33:48 -05:00
Aymeric Augustin 44e56238d7 [1.5.x] Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
Backport of a001f3c.
2012-12-14 21:16:04 +01:00
Tim Graham 8a1b4dbda2 [1.5.X] Fixed #19461 - Linked to psycopg in topics/install.txt
Thanks Chris Jerdonek for the suggestion.

Backport of 6cad5f212a from master
2012-12-11 18:45:03 -05:00
Florian Apolloner 77b06e4151 [1.5.X] Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
2012-12-10 22:13:28 +01:00
Claude Paroz fce779475e [1.5.x] Removed US localflavor-specific tests from core
Also fixes #9045.
Backport of 8248d1402 from master.
2012-12-08 21:08:37 +01:00
Val Neekman 152d6cb411 fix a spelling error in docs
backport of cacafe8 from master.
2012-12-08 14:51:41 +01:00