summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2011-09-10[1.2.X] Altered the behavior of URLField to avoid a potential DOS vector, ↵Russell Keith-Magee
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-03-06[1.2.X] Fixed #3094 -- Updated docs to reflect actual behavior of XMLField. ↵Russell Keith-Magee
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-01-11[1.2.X] Fixed #15045 - Typo auto_add_now -> auto_now_add; thanks dr_gone for ↵Timo Graham
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-03[1.2.X] Fixed #15002 - Fix title casing to conform to style guidelines. ↵Timo Graham
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
2010-12-29[1.2.X] Fixed #14842 - Indent the model Meta options. Thanks adamv.Timo Graham
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[1.2.X] Fixed #14959 - Add a link to localflavor in the model field docs. ↵Timo Graham
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[1.2.X] Fixed #7726 -- Added validation of max_digits and decimal_places ↵Ramiro Morales
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[1.2.X] Fixed #14403 -- Provided some extra resources on the difference ↵Gabriel Hurley
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-28[1.2.X] Fixed #14905 -- Corrected some misleading linking and language in ↵Gabriel Hurley
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-26[1.2.X] Fixed #14000 - Remove versionadded/changed tags for 1.0. thanks ramiro!Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25[1.2.X] Fixed #14927 - typo in model option docs. thanks tiliv.Timo Graham
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-18[1.2.X] Fixed #6434 - Add clarifying note about auto_now and auto_now_add. ↵Timo Graham
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-06[1.2.X] Fixed #8975 -- documented related order methods -- thanks to Leo for ↵Simon Meers
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[1.2.X] Fixed #14840 -- Added crossrefs to related objects reference docs. ↵Gabriel Hurley
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-04[1.2.X] Fixed #9033 - Add bullets to QuerySet extra() arguments. thanks ↵Timo Graham
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-11-28Fixed #14758 - Remove entire method signatures from QuerySet headings - ↵Timo Graham
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-26[1.2.X] Fixed #14756 - fix typo in "related objects reference" docs. Thanks ↵Timo Graham
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-16[1.2.X] Fixed #14696, corrected some messed up syntax in the docs. Backport ↵Alex Gaynor
of [14566]. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09Fixed #14599 -- Added documentation for QuerySet.delete() in the QuerySet ↵Carl Meyer
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-07[1.2.X] Fixed #10904 -- Corrected inappropriate usage of the term "absolute ↵Gabriel Hurley
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-10-20[1.2.X] Fixed #14493 -- Corrected use of the wrong attribute in the model ↵Gabriel Hurley
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-15[1.2.X] Fixed #14307 -- Added a new crossref target to model field reference ↵Gabriel Hurley
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-09[1.2.X] Fixed misspelling in model fields docs. Backport of [14096] from trunk.Carl Meyer
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09[1.2.X] Adds documentation for QuerySet.update() method. Thanks to dwillis ↵Gabriel Hurley
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[1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in ↵Russell Keith-Magee
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[1.2.X] Fixed #5537 -- document trailing '+' on related_name for supressing ↵Simon Meers
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-08-30Fixed #14189 - permalink docs import mistakeLuke Plant
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-28[1.2.X] Fixed #14185 - improved example SQL for 'select' example.Luke Plant
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-23[1.2.X] Fixed #14112 -- Various Markup fixes for the docs. Thanks to ramiro ↵Russell Keith-Magee
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-19[1.2.X] Fixed #14141: docs now use the :doc: construct for links between ↵Jacob Kaplan-Moss
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-07[1.2.X] Fixed #11800 -- Updated Sphinx metadata in queryset docs. Thanks to ↵Russell Keith-Magee
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-07-17[1.2.X] Fixed import example code for NON_FIELD_ERRORS. Karen Tracey
r13434 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-17Fixed #13778: Removed a stray colon in a code example. Thanks canassa.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17Slight fixes to related fields reference to avoid conflicting target namesJacob Kaplan-Moss
with the queryset docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-11Fixed #12997 -- Corrected the module markup for QuerySet methods. Thanks to ↵Russell Keith-Magee
timo for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10Fixed #12678 -- Corrected a few references to Queryset into QuerySet. Thanks ↵Russell Keith-Magee
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-10Fixed #12229 -- Added documentation of the FieldFile methods that are ↵Russell Keith-Magee
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-09Fixed #12997 -- Added markup for methods in the queryset docs. Thanks to ↵Russell Keith-Magee
Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09Fixed #13100 -- Clarified the model validation rules around full_clean(). ↵Russell Keith-Magee
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-09Fixed #13282 -- Clarified documentation around week_day filtering in ↵Russell Keith-Magee
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-09Fixed #13455 -- Clarified the interaction of values() and extra(). Thanks to ↵Russell Keith-Magee
Rupe for the report and draft text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06Fixed #13099 - incorrect SQL for `exclude()` exampleLuke Plant
Thanks to istruble for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-20Fixed `fieldlookup` docs cross-reference directive, and added it to the ↵Justin Bronn
queryset reference. Refs #12930. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-10Fixed #11711 -- clarified that ValuesQuerySets are not lists per se.Malcolm Tredinnick
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-08Fixed #12024: Changed admin code to avoid raising an exception when a field ↵Karen Tracey
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-02-24Fixed #7190. Boolean fields now return bool values instead of 1 or 0. ↵Joseph Kocherhans
Thanks, Alex Gaynor. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24Fixed #12538 -- Added a note that pickles aren't stable during version ↵Russell Keith-Magee
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-23Fixed #12837 -- Clarified the naming strategy for m2m intermediate tables. ↵Russell Keith-Magee
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-21Fixed #12620 - Refer to better fieldname in defer docs. Thanks, dwillis.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27Fixed #7270 -- Added the ability to follow reverse OneToOneFields in ↵Russell Keith-Magee
select_related(). Thanks to George Vilches, Ben Davis, and Alex Gaynor for their work on various stages of this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12307 bcc190cf-cafb-0310-a4f2-bffc1f526a37