summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-25Fixed #14927 - typo in model option docs. thanks tiliv.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18Fixed #6434 - Add clarifying note about auto_now and auto_now_add. thank ↵Timo Graham
adamv for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06Fixed #8975 -- documented related order methods -- thanks to Leo for the ↵Simon Meers
report and dwillis for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06Fixed #14840 -- Added crossrefs to related objects reference docs. Thanks to ↵Gabriel Hurley
adamv for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Fixed #9033 - Add bullets to QuerySet extra() arguments. thanks julien for ↵Timo Graham
the suggestion and dwillis for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28Fixed #14758 - Remove entire method signatures from QuerySet headings - ↵Timo Graham
thanks adamv for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26Fixed #14756 - fix typo in "related objects reference" docs. Thanks deisner ↵Timo Graham
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21Fixed #5768 -- Added support for ManyToManyFields and reverse relations in ↵Carl Meyer
values() and values_list(). Thanks to mrmachine for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16Fixed #14696, corrected some messed up syntax in the docs.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control ↵Carl Meyer
cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14507 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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" ↵Gabriel Hurley
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27Edited docs/ref/models/fields.txt change from [14049]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20Fixed #14493 -- Corrected use of the wrong attribute in the model validation ↵Gabriel Hurley
example pseudo-code. Thanks to wogan for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15Fixed #14307 -- Added a new crossref target to model field reference docs ↵Gabriel Hurley
and fixed broken relative link in form field reference docs. Thanks to adamv for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed misspelling in model fields docs.Carl Meyer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #14004 -- Adds documentation for QuerySet.update() method. Thanks to ↵Gabriel Hurley
dwillis and timo for the majority of the wording. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various ↵Russell Keith-Magee
documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Tiny formatting tweak.Simon Meers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #5537 -- document trailing '+' on related_name for supressing backward ↵Simon Meers
relation. Thanks to dcramer for the report, and Russ for pointing out the workaround. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-11Better error message for calling get_next_by_* on unsaved models.Malcolm Tredinnick
Patch from Marc Fargas. Fixed #7435. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07Fixed #13414 - QuerySet API ref wrong sql equivalent in __year lookup exampleLuke Plant
Thanks to idle for report and patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@13692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30Fixed #14189 - permalink docs import mistakeLuke Plant
Thanks to 7times9 for report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-28Fixed #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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23Fixed #14112 -- Various Markup fixes for the docs. Thanks to ramiro for the ↵Russell Keith-Magee
patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19Fixed #14141: docs now use the :doc: construct for links between documents.Jacob Kaplan-Moss
Thanks, Ramiro Morales. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07Fixed #11800 -- Updated Sphinx metadata in queryset docs. Thanks to timo for ↵Russell Keith-Magee
the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-17Fixed import example code for NON_FIELD_ERRORS.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13434 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