summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2018-04-04[1.11.x] Fixed reference to nonexistent __between lookup.Daniel Roseman
Backport of e6c21217d3c79a507ebab290ba41116407dd7f2a from master
2018-01-19[1.11.x] Fixed #29032 -- Fixed an example of using expressions in ↵Mariusz Felisiak
QuerySet.values(). Backport of 7fbb1bd00d8a3e9a834de83d36ebcbff15c18938 from master
2017-11-12[1.11.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for ↵Mariusz Felisiak
union(), difference(), and intersection(). Thanks Tim Graham for the review. Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-10-17[1.11.x] Fixed typo in docs/ref/models/querysets.txt.Jozef
Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master
2017-09-29[1.11.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.Stefan Schneider
Backport of 08c8c3ead97893ec0e1dece699525ad7ed27c2d7 from master
2017-09-06[1.11.x] Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() ↵Tim Graham
and joins. As of ccbba98131ace3beb43790c65e8f4eee94e9631c, both examples don't use a join. Backport of 44a6c27fd461e1d2f37388c26c629f8f170e8722 from master
2017-09-04[1.11.x] Fixed #28568 -- Fixed typo in docs/ref/models/database-functions.txt.Michael
And made an example use naming consistent with the rest of the doc. Backport of 3f2b1d926bb3a72b4c3d2cd958455ebb9b4ca458 from master
2017-09-01[1.11.x] Fixed #28557 -- Fixed ForeignKey/OneToOneField/ManyToManyField ↵Tim Graham
argument name in docs. Backport of 6e4a34580d05ca8036c2bc1f7a53558cdc0cc77f from master
2017-08-14[1.11.x] Clarified Concat example in docs.Mathieu Hinderyckx
Backport of cf5740fbc8414ab722b938f92b4363ff00d8db88 from master
2017-08-08[1.11.x] Fixed #28471 -- Clarified that Meta.indexes is preferred to ↵Tim Graham
index_together. Backport of d18227e341ed044980d02a1f65f3874166552ded from master
2017-08-07[1.11.x] Fixed #28466 -- Clarified the definition of a lazy relationship.Tim Graham
Backport of 50a97edc1a01f3d5325f0be1b91e7c77c3ba7dc0 from master
2017-07-18[1.11.x] Doc'd the need to remove default ordering on Subquery aggregates.Tomer Chachamu
Backport of 62917cee5ac75693aa5d9a3de5d8935da2f011df from master
2017-07-15[1.11.x] Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), ↵Florian Apolloner
and intersection() queries. Backport of adab280cefb15659c39558ac26ea392b0a1e456c from master
2017-07-11[1.11.x] Fixed #28352 -- Corrected QuerySet.values_list() return type in ↵Irindu Indeera
docs examples. Backport of babe9e64a6172b09e7f70e8d8f01e67f2cb4176d and 2457c1866ef3586c56bd19aeaa554e78c1ed1875 from master
2017-06-19[1.11.x] Fixed #18485 -- Doc'd behavior of PostgreSQL when manually setting ↵François Freitag
AutoField. Backport of 4f1eb64ad0bcebfae4075486855eb6b63355cc5a from master
2017-06-13[1.11.x] Fixed #27434 -- Doc'd how to raise a model validation error for a ↵Matthias Kestenholz
field not in a model form. Backport of e8c056c31a5b353e7b50a405c00db12c28f4a756 from master
2017-06-09[1.11.x] Fixed typo in docs/ref/models/querysets.txt.Tim Graham
Backport of 0877989c94130079930419e867ff55fa1fb4f5a0 from master
2017-06-08[1.11.x] Refs #25240 -- Added ExtractWeek examples.Mads Jensen
Backport of 085c2f94ec0155417601a9750ad60bb93536e166 from master
2017-06-02[1.11.x] Fixed #28266 -- Fixed typo in docs/ref/models/instances.txt.Lachlan Musicman
Backport of 00093daec9cc61d8af7fcebdbe58e263bea935a3 from master
2017-06-01[1.11.x] Clarified QuerySet.iterator()'s docs on server-side cursors.François Freitag
Backport of bf50ae821021c4f7cd608d2bd1f2dfff98f3ceb9 from master
2017-05-06[1.11.x] Fixed #28062 -- Added a setting to disable server-side cursors on ↵François Freitag
PostgreSQL. When a connection pooler is set up in transaction pooling mode, queries relying on server-side cursors fail. The DISABLE_SERVER_SIDE_CURSORS setting in DATABASES disables server-side cursors for this use case. Backport of 88336fdbb5e101fa25825b737169c0d6af2faa93 from master
2017-04-25[1.11.x] Removed nonexistent methods from File's docs.Josh Schneier
read() and write() were removed in 68a890e79f660484d05482902663b6168f0bd71e. Backport of 98ee57e343206ef553de78b22be5e9a6dacb5060 from master
2017-04-10[1.11.x] Fixed #27947 -- Doc'd that model Field.error_messages often don't ↵Taavi Teska
propagate to forms. Backport of 5dbf1c4b23cda915369f4895be293369575238d0 from master
2017-04-05[1.11.x] Fixed #28025 -- Fixed typo in docs/ref/models/querysets.txt.Sudhanshu Mishra
Backport of 9f0c82971dff1e40bad63879b5f6fee42dd64953 from master
2017-03-20[1.11.x] Removed extra characters in docs header underlines.Mariusz Felisiak
Backport of a3af8c99d94638e0d1fc8a847b74aa6953441d55 from master
2017-03-16[1.11.x] Removed self from method signatures in docs.Alasdair Nicol
Backport of 757aefc12b79bac1bab730ac465fbfd3f810b61d from master
2017-03-15[1.11.x] Fixed incorrect import in docs/ref/models/expressions.txt.lb1c
Backport of 36f2262741311159e5c13eb5114fb9e902e2df31 from master
2017-02-24[1.11.x] Made a few queryset lookup examples consistent.Alexkane
Backport of b427f0d674362d22c063852754914d9315cbc2fa from master
2017-01-25[1.11.x] Bumped MySQLdb version requirement to 1.2.3.Tim Graham
Older versions don't support Python 2.7. Partial backport of 2d96c027f5eb32c2c09bd57df2240ae1d343b98e from master
2017-01-25[1.11.x] Fixed typo in docs/ref/models/expressions.txt.Paolo Melchiorre
Backport of 5890d6ab03ebc7dac46ce7d9540b5768785caa34 from master
2017-01-14Fixed #27149 -- Added Subquery and Exists database expressions.Matthew Schinckel
Thanks Josh Smeaton for Oracle fixes.
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.
2016-12-27Used a nontemporal example in QuerySet.bulk_create() in docs.Tim Graham
2016-12-17Made cosmetic edits to the "What happens when you save?" docs.Tim Graham
2016-12-14Added Prefetch import to first use in QuerySet docs.Perry Roper
2016-12-08Fixed #13312 -- Allowed specifying the order of null fields in queries.Yohann Gabory
Thanks Mariusz Felisiak for finishing the patch.
2016-11-30Replaced RawSQL with Cast in Coalesce doc example.Simon Charette
2016-11-21Fixed #27511 -- Corrected Field.related_model docs about GenericRelation.Tim Graham
2016-11-17Fixed #27482 -- Doc'd an example of Case() in QuerySet.filter().Jonatas CD
2016-11-15Fixed #26985 -- Doc'd that ForeignKey.to_field reference must be unique.Jonatas CD
2016-11-11Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.Mads Jensen
Thanks to Mariusz Felisiak and Tim Graham for review.
2016-11-09Inlined a note in docs/ref/models/expressions.txt.Tim Graham
2016-11-09Fixed #27414 -- Doc'd that F() expressions on relations return pk values.Jop Reyntjes
2016-10-31Updated Oracle docs links to Oracle 12c.Mariusz Felisiak
2016-10-28Fixed #27188 -- Allowed using unique=True with FileField.Michael Scott
Thanks Tim Graham for the initial patch.
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-25Updated postgresql.org links to https and made them canonical.Marti Raudsepp
2016-10-13Fixed #27342 -- Corrected QuerySet.update_or_create() example.Tim Graham
2016-10-07Fixed #25475 -- Doc'd how to use a literal % in Func.template.Tim Graham