summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
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
2010-01-16Created a 'DB optimization' topic, with cross-refs to relevant sections.Luke Plant
Also fixed #10291, which was related, and cleaned up some inconsistent doc labels. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12Fixed #9326 - Use decorator syntax in get_absolute_url example. Thanks, timo.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12Fixed #12586. Corrected a typo in the validation docs. Thanks, phyfus.Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12Fixed #12512. Changed ModelForm to stop performing model validation on ↵Joseph Kocherhans
fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev. This reverts some admin and test changes from [12098] and also fixes #12507, #12520, #12552 and #12553. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #12271 -- Fixed typo in URLField docs. Thanks, adam@andyet.netAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #10947 -- Fixed error in __in documentation. Thanks, julianb and timoAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10Fixed #10862 -- Clarified confusing documentation about ImageField ↵Adrian Holovaty
height/width. Thanks, mw and timo git-svn-id: http://code.djangoproject.com/svn/django/trunk@12162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09Fixed #12512 -- Fixed typo in docs/ref/models/fields.txt. Thanks, bward1Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09Fixed #12555 -- Fixed typo in docs/ref/models/querysets.txt. Thanks, y_feldblumAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09Made some edits to the validation part of docs/ref/models/instances.txtAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-08Corrected the chronograph on my time machine. ``using`` argument was added ↵Russell Keith-Magee
in v1.2, not v1.1. Thanks to Ramiro Morales for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12120 bcc190cf-cafb-0310-a4f2-bffc1f526a37