Ramiro Morales
cf96d88421
[1.2.X] Fixed #17846 -- Made a note about the micro-version in which a security fix for URLField was introduced in the 1.2.X branch more accurate.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@17677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-10 17:45:26 +00:00
Russell Keith-Magee
7268f8af86
[1.2.X] Altered the behavior of URLField to avoid a potential DOS vector, and to avoid potential leakage of local filesystem data. A security announcement will be made shortly.
...
Backport of r16760 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@16766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-10 01:28:50 +00:00
Russell Keith-Magee
20cf3b82a1
[1.2.X] Fixed #3094 -- Updated docs to reflect actual behavior of XMLField. Thanks to PaulM for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-06 07:03:27 +00:00
Timo Graham
52999afaf5
[1.2.X] Fixed #15045 - Typo auto_add_now -> auto_now_add; thanks dr_gone for the report.
...
Backport of r15171 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-11 00:30:24 +00:00
Timo Graham
12d5c09fdd
[1.2.X] Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.
...
Backport of r15135 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03 13:30:12 +00:00
Timo Graham
cd2cf87243
[1.2.X] Fixed #14842 - Indent the model Meta options. Thanks adamv.
...
Backport of r15110 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 20:34:40 +00:00
Timo Graham
6510bb76c6
[1.2.X] Fixed #14959 - Add a link to localflavor in the model field docs. Thanks PaulM for the suggestion, elbarto for the patch.
...
Backport of r15096 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 13:47:58 +00:00
Ramiro Morales
9bb995c6e0
[1.2.X] Fixed #7726 -- Added validation of max_digits and decimal_places options to DecimalField model field. Thanks theevilgeek for the report and elbarto for the patch.
...
Backport of [15094] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 01:26:45 +00:00
Gabriel Hurley
8db865c8fb
[1.2.X] Fixed #14403 -- Provided some extra resources on the difference between FloatField and DecimalField in the model field reference. Thanks to typeshige for the report and trebor74hr and dmedvinsky for the draft patch.
...
Backport of [15090] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29 00:04:06 +00:00
Gabriel Hurley
a3169e3e8e
[1.2.X] Fixed #14905 -- Corrected some misleading linking and language in the FileField docs. Thanks to Keryn Knight for the report and draft patch.
...
Backport of [15088] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-28 23:25:28 +00:00
Timo Graham
89cb543f9e
[1.2.X] Fixed #14000 - Remove versionadded/changed tags for 1.0. thanks ramiro!
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26 00:46:36 +00:00
Timo Graham
3003ddec1a
[1.2.X] Fixed #14927 - typo in model option docs. thanks tiliv.
...
Backport of r15051 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25 20:30:45 +00:00
Timo Graham
2a0dda3df9
[1.2.X] Fixed #6434 - Add clarifying note about auto_now and auto_now_add. thank adamv for the patch.
...
Backport of r14923 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 14:05:40 +00:00
Simon Meers
7c23fbd9a0
[1.2.X] Fixed #8975 -- documented related order methods -- thanks to Leo for the report and dwillis for the initial patch.
...
Backport of r14848 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 23:09:55 +00:00
Gabriel Hurley
d1c0c473ce
[1.2.X] Fixed #14840 -- Added crossrefs to related objects reference docs. Thanks to adamv for the report and patch.
...
Backport of [14842] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 12:17:45 +00:00
Timo Graham
84c283744f
[1.2.X] Fixed #9033 - Add bullets to QuerySet extra() arguments. thanks julien for the suggestion and dwillis for the patch.
...
Backport of r14816 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 20:42:07 +00:00
Timo Graham
84e65e91a1
Fixed #14758 - Remove entire method signatures from QuerySet headings - thanks adamv for the patch.
...
Backport of r14737 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 18:20:05 +00:00
Timo Graham
1c68437d1d
[1.2.X] Fixed #14756 - fix typo in "related objects reference" docs. Thanks deisner for the report.
...
Backport of r14703 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 12:41:26 +00:00
Alex Gaynor
bfab752286
[1.2.X] Fixed #14696 , corrected some messed up syntax in the docs. Backport of [14566].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16 02:21:38 +00:00
Carl Meyer
a8114d64d5
Fixed #14599 -- Added documentation for QuerySet.delete() in the QuerySet API reference. Thanks to abeld for the report. Backport of r14505 from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 16:35:39 +00:00
Gabriel Hurley
969ac914ff
[1.2.X] Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" throughout the docs. Replaced with the (RFC 2396-compliant) terms "absolute path reference" or "absolute path" as appropriate for the context. Thanks to sharan666 for the report, and Malcolm, Chris, and dwillis for their work in supplying a solution and patch.
...
Backport of [14482] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 01:44:32 +00:00
Gabriel Hurley
c2cb82b3c7
[1.2.X] Fixed #14493 -- Corrected use of the wrong attribute in the model validation example pseudo-code. Thanks to wogan for the report and patch.
...
Backport of [14300] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20 21:08:50 +00:00
Gabriel Hurley
ac16c59d35
[1.2.X] Fixed #14307 -- Added a new crossref target to model field reference docs and fixed broken relative link in form field reference docs. Thanks to adamv for the report.
...
Backport of [14234] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15 20:14:22 +00:00
Carl Meyer
846febeb7a
[1.2.X] Fixed misspelling in model fields docs. Backport of [14096] from trunk.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 22:42:01 +00:00
Gabriel Hurley
a96e50b76b
[1.2.X] Adds documentation for QuerySet.update() method. Thanks to dwillis and timo for the majority of the wording.
...
Backport of [14074] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 10:01:01 +00:00
Russell Keith-Magee
9584b77c35
[1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch
...
Backport of r14069 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 08:25:01 +00:00
Simon Meers
52e7812901
[1.2.X] Fixed #5537 -- document trailing '+' on related_name for supressing backward relation.
...
Thanks to dcramer for the report, and Russ for pointing out the workaround.
Backport of r14049 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 02:57:11 +00:00
Luke Plant
57e6ee8507
Fixed #14189 - permalink docs import mistake
...
Thanks to 7times9 for report and patch.
Backport of [13666] from trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30 10:31:56 +00:00
Luke Plant
be7f912ce7
[1.2.X] Fixed #14185 - improved example SQL for 'select' example.
...
Thanks to Trindaz for the suggestion.
Also fixed some references to 'lede' which is no longer part of the
example Blog model.
Backport of [13652] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-28 11:30:28 +00:00
Russell Keith-Magee
e47520b8ba
[1.2.X] Fixed #14112 -- Various Markup fixes for the docs. Thanks to ramiro for the patch.
...
Backport of r13628 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 08:08:46 +00:00
Jacob Kaplan-Moss
936203434e
[1.2.X] Fixed #14141 : docs now use the :doc: construct for links between documents.
...
Thanks, Ramiro Morales.
Backport of [13608] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 19:31:56 +00:00
Russell Keith-Magee
7c05d23af1
[1.2.X] Fixed #11800 -- Updated Sphinx metadata in queryset docs. Thanks to timo for the patch.
...
Backport of r13548 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 14:27:15 +00:00
Karen Tracey
48dd139e54
[1.2.X] Fixed import example code for NON_FIELD_ERRORS.
...
r13434 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-17 09:33:27 +00:00
Karen Tracey
fc33b8e953
Fixed #13778 : Removed a stray colon in a code example. Thanks canassa.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-17 18:29:27 +00:00
Jacob Kaplan-Moss
47e3cc74d9
Slight fixes to related fields reference to avoid conflicting target names
...
with the queryset docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 16:32:37 +00:00
Russell Keith-Magee
b160e1c172
Fixed #12997 -- Corrected the module markup for QuerySet methods. Thanks to timo for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11 14:12:08 +00:00
Russell Keith-Magee
b34edc76eb
Fixed #12678 -- Corrected a few references to Queryset into QuerySet. Thanks to ChrisMorgan for the report, and timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 13:14:19 +00:00
Russell Keith-Magee
819f43f499
Fixed #12229 -- Added documentation of the FieldFile methods that are exposed by FileField and ImageField. Thanks to Gabriel Hurley for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 12:29:04 +00:00
Russell Keith-Magee
55d65d3351
Fixed #12997 -- Added markup for methods in the queryset docs. Thanks to Ramiro Morales for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:48:45 +00:00
Russell Keith-Magee
4a15dc4509
Fixed #13100 -- Clarified the model validation rules around full_clean(). Thanks to ptone for the draft text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:47:35 +00:00
Russell Keith-Magee
ccf5bb1883
Fixed #13282 -- Clarified documentation around week_day filtering in querysets. Thanks to wangchun, Ramiro Morales and timo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:50:00 +00:00
Russell Keith-Magee
e7e46d1f4b
Fixed #13455 -- Clarified the interaction of values() and extra(). Thanks to Rupe for the report and draft text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:24:21 +00:00
Luke Plant
97b9c7582b
Fixed #13099 - incorrect SQL for `exclude()` example
...
Thanks to istruble for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06 14:35:36 +00:00
Justin Bronn
d58020fce8
Fixed `fieldlookup` docs cross-reference directive, and added it to the queryset reference. Refs #12930 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20 05:04:31 +00:00
Malcolm Tredinnick
1eee40234b
Fixed #11711 -- clarified that ValuesQuerySets are not lists per se.
...
It rarely hurts to think of the returned result from a values() or
values_list() call as a list, but it's really an iterable and sometimes
the difference matters.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-10 03:41:41 +00:00
Karen Tracey
f2bc4dd0a9
Fixed #12024 : Changed admin code to avoid raising an exception when a field listed
...
in raw_id_fields has limit_choices_to specified as a Q object.
Tweaked a test to trigger the condition and verify the fix.
Finally, documented that limit_choices_to specified as a Q object has no effect
on the choices available for fields listed in raw_id_fields, and removed another
incorrect note that claimed limit_choices_to had no effect on inlines in the admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 18:32:24 +00:00
Joseph Kocherhans
16fe73d918
Fixed #7190 . Boolean fields now return bool values instead of 1 or 0. Thanks, Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 17:36:18 +00:00
Russell Keith-Magee
d792737770
Fixed #12538 -- Added a note that pickles aren't stable during version updates. Thanks to snow0x2d0 for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 13:56:19 +00:00
Russell Keith-Magee
a555df4c06
Fixed #12837 -- Clarified the naming strategy for m2m intermediate tables. Thanks to Ramiro Morales for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 13:21:07 +00:00
Jannis Leidel
579e8573c8
Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:39:08 +00:00