summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
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.
2016-06-28Refs #23386 -- Documented that F() expressions are applied on each model.save()Tsering
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
Added the AddIndex and RemoveIndex operations to use them in migrations. Thanks markush, mjtamlyn, timgraham, and charettes for review and advice.
2016-06-21Fixed #26787 -- Documented deleting and reloading of model instance fields.Tim Graham
Thanks Julien Hartmann for the report.
2016-06-15Refs #14030 -- Updated docs per "Improved expression support for python values."Sergey Fedoseev
Complements e2d6e14662d780383e18066a3182155fb5b7747b.
2016-06-13Fixed #4136 -- Made ModelForm save empty values for nullable CharFields as NULL.Jon Dufresne
Previously, empty values were saved as strings.
2016-06-04Fixed a typo in docs/ref/models/querysets.txtVytis Banaitis
2016-06-03Fixed #26021 -- Applied hanging indentation to docs.Ed Henderson
2016-06-03Fixed #26638 -- Allowed callable arguments for ↵Will Koster
QuerySet.get_or_create()/update_or_create() defaults.