summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
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
2010-01-08Added `using` to the list of documented arguments for save() on a model; ↵Russell Keith-Magee
updated the docs to suggest using ``*args, **kwargs`` when implementing model save methods. Thanks to Jeff Croft for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Added a note that full_validate will not be called automatically by ↵Joseph Kocherhans
model.save(). git-svn-id: http://code.djangoproject.com/svn/django/trunk@12103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Added a section to the docs for discussing validators and updated a few ↵Joseph Kocherhans
links to point to it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-05Merged soc2009/model-validation to trunk. Thanks, Honza!Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26Fixed several broken and redirecting URLs in the documentation (fixes ↵Gary Wilson Jr
#12219, refs #12427). git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26Fixed #9465 -- Simplified API Reference documentation titles for easier ↵Gary Wilson Jr
lookup and made first-level heading styles consistent. Thanks, adamnelson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26Fixed #12205 -- Corrected malformed reference links in the 1.1 and 1.1-alpha ↵Gary Wilson Jr
release notes, and corrected position of field lookup reference label. Thanks velmont and timo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22Improved documentation of when QuerySet.exists() and .count() are a genuine ↵Luke Plant
optimization. Also fixed a typo. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17Fixed #399: Added big integer field. Thanks to Tomáš Kopeček for ↵Karen Tracey
persistently maintaining a patch for this. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-11-12Fixed #12204 -- Corrected the use of :djadmin: links in the testing docs, ↵Russell Keith-Magee
plus updated a lot of old-style markup in the django-admin docs. Thanks to Art_S for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-10-24Fixed #11402: added a `QuerySet.exists()` method. Thanks, Alex Gaynor.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-28Fixed #9674 - documented app_label.Luke Plant
Thanks to andymckay for the report and jpaulett for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-23Fixed #11931: Removed mention of nonexistent get_sql() method for arguments ↵James Bennett
to limit_choices_to. Since the correct reference involves undocumented ORM internals, this simply removes the reference entirely in favor of publicly-documented use of Q objects. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-12Fixed #6047 -- Minor correction to the documentation regarding regex field ↵Russell Keith-Magee
lookups. Thanks to Richard D. Worth for the suggestion, and Steve Holden for the text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11541 bcc190cf-cafb-0310-a4f2-bffc1f526a37