summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
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
2016-10-07Doc'd that model instances with pk=None don't compare equal.Adam Chainz
2016-09-30Updated links to the current version of MySQL docs.Tim Graham
2016-09-17Corrected docs for return type of Field.formfield().zhuanyenan
2016-09-12Fixed #27209 -- Fixed typo in docs/ref/models/database-functions.txt.Simon Charette
Thanks Valentin Ignatyev for the report.
2016-08-19Fixed #26987 -- Documented using QuerySet.get() without arguments.Abhishek Bera
2016-08-18Fixed #25871 -- Added expressions support to QuerySet.values().Ian Foote
2016-08-15Made cosmetic edits to Field.default docs.Victor Oliveira da Silva
2016-08-12Fixed #27048 -- Documented that refresh_from_db() doesn't reload ↵Tim Graham
@cached_properties.
2016-08-12Fixed #27030 -- Added contrib.postgres.indexes.GinIndex.Akshesh
2016-08-12Fixed #20888 -- Added support for column order in class-based indexes.Akshesh
2016-08-08Fixed #26500 -- Added SKIP LOCKED support to select_for_update().Simon Charette
Thanks Tim for the review.
2016-08-05Fixed #26808 -- Added Meta.indexes for class-based indexes.Akshesh
* Added the index name to its deconstruction. * Added indexes to sqlite3.schema._remake_table() so that indexes aren't dropped when _remake_table() is called. Thanks timgraham & MarkusH for review and advice.
2016-08-05Fixed #26706 -- Made RelatedManager modification methods clear ↵Yoong Kang Lim
prefetch_related() cache.
2016-07-25Fixed #26925 -- Linked aggregation ordering topic from Meta.ordering docs.Tim Graham
2016-07-21Fixed #26899 -- Documented why RawSQL params is a required parameter.petedmarsh
2016-07-15Fixed inconsistent indentation in docs/ref/models/options.txtTim Graham
2016-07-08Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette
Thanks Tim for the review.
2016-07-08Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.Simon Charette
Thanks Josh for the amazing testing setup and Tim for the review.
2016-07-08Refs #25774 -- Adjusted datetime database function docs field names.Simon Charette
2016-07-06Fixed #25461 -- Corrected meta API code examples to account for MTI.Romain Garrigues
In the case of multiple-table inheritance models, get_all_related_objects() and get_all_related_objects_with_model() don't return the auto-created OneToOneField, but the new examples didn't account for this.