summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2019-05-28[2.2.x] Fixed #30491 -- Clarified when save() on object with pk executes INSERT.Brad Solomon
Backport of 67b6cb7723b2765cb776bd59d5603e3e63eefc2e from master
2019-05-20[2.2.x] Refs #30062 -- Corrected UniqueConstraint signature in docs.GwynBleidD
Backport of 5402061c80aa2ede08a7c6b3ff204646c5059cf7 from master
2019-05-17[2.2.x] Changed docs to link to Python's description of iterable.Jon Dufresne
Backport of e86cc14bd36734d81c4e490a2453778e33b95a45 from master
2019-05-17[2.2.x] Fixed #30199 -- Adjusted QuerySet.get_or_create() docs to highlight ↵Alex
atomicity warning. Backport of 1686dce06c1f3587e90ea98816eddaa965fd9f45 from master
2019-05-15[2.2.x] Changed tuple choices to list in docs.Jon Dufresne
Backport of 97d3321e89c8d4434927bdbc308db1ccffa99d3b from master
2019-05-07[2.2.x] Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() ↵Tobias Kunze
accepts the field the relation points to. Backport of a44a21a22f20c1a710670676fcca798dd6bb5ac0 from master
2019-04-25[2.2.x] Fixed #30362 -- Noted partial indexes and constraints restrictions ↵Mariusz Felisiak
with abstract base classes. Thanks Carlton Gibson for the review. Backport of 5df3301aab9e1d1c386799263bef5cf013985c83 from master
2019-04-25[2.2.x] Fixed UniqueConstraint example in ref/models/constraints.txt.Mariusz Felisiak
Backport of f8f0f92ed9f73a025de599bd1a4965f2cc2ebbba from master
2019-04-24[2.2.x] Changed tuple Mate.unique_together/permissions to lists in docs.Luke Plant
Backport of 0c916255eb4d94e06e123fafec93efdba45b1259 from master
2019-04-16[2.2.x] Fixed typo in docs/ref/models/instances.txt.Gary Donovan
Backport of 516d858e7a3d01443cdc4e1eb4532b9d910f5e2b from master
2019-04-15[2.2.x] Fixed #30326 -- Doc'd how to avoid persistence of F() assignment.sage
Backport of bfae195b0a2c8dae755610a7e23add5c6bc37b5e from master
2019-03-29[2.2.x] Removed unnecessary /static from links to PostgreSQL docs.Nick Pope
Backport of 198a2a9381a415f76c3170753270f5087ce4475a from master.
2019-03-18[2.2.x] Fixed #30253 -- Doc'd how to order nulls in QuerySet.order_by().Paul Wayper
Backport of 1025e764291167f2f34a4d55bd3d043836e74250 from master.
2019-02-25[2.2.x] Fixed documentation of database representation for ManyToManyField.Mariusz Felisiak
Backport of b0799f5d86b6c0ccb1dcba6e0d2eee336f7f5928 from master
2019-02-07[2.2.x] Updated Oracle docs links to Oracle 18c.Mariusz Felisiak
Backport of 759a9b710c0e5a6009cfba406ff562919fa70ef0 from master
2019-01-31[2.2.x] Corrected output of Prefetch.to_attr example.Sergey Fedoseev
Backport of ba7a420012799b26ec9e969d0276d2ccee93c1f5 from master.
2019-01-17[2.2.x] Fixed typo in QuerySet.bulk_update() documentation.Day Barr
Backport of 51fa59f0b39b24d4a589e01a26e539c3134a6c42 from master.
2019-01-15Fixed #9475 -- Allowed RelatedManager.add(), create(), etc. for m2m with a ↵Collin Anderson
through model.
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
Keeps precision instead of forcing DecimalField to FloatField.
2019-01-12Refs #28643 -- Added Reverse database function.Nick Pope
Thanks Mariusz Felisiak for Oracle advice and review.
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2019-01-10Fixed typos in docs/ref/models/constraints.txt.Tim Graham
2019-01-10Refs #28643 -- Added NullIf database function.Mads Jensen
Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews.
2019-01-09Fixed #29968 -- Doc'd that QuerySet.bulk_update() doesn't check for duplicates.Hasan Ramezani
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2018-12-29Fixed #30063 -- Doc'd that Meta.unique_together may be deprecated in favor ↵Paveł Tyślacki
of Meta.constraints.
2018-12-24Fixed #30056 -- Added SQLite support for StdDev and Variance functions.Nick Pope
2018-12-22Renamed Sqlite and Sqlite3 references to SQLite.Nick Pope
2018-11-27Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.Tim Graham
2018-11-27Corrected Aggregate docs to reflect that it accepts multiple expressions.Simon Charette
2018-11-15Used auto-numbered lists in documentation.François Freitag
2018-11-13Fixed #29641 -- Added support for unique constraints in Meta.constraints.Simon Charette
This constraint is similar to Meta.unique_together but also allows specifying a name. Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13Generalized check constraint docs for other constraints.Simon Charette
2018-11-12Corrected docs regarding RegisterLookupMixin subclasses.Sergey Fedoseev
2018-10-29Fixed #29547 -- Added support for partial indexes.Mads Jensen
Thanks to Ian Foote, Mariusz Felisiak, Simon Charettes, and Markus Holtermann for comments and feedback.
2018-10-10Emphasized that ForeignKey.on_delete doesn't create a SQL constraint.Andrea Rabbaglietti
2018-10-03Clarified when QuerySet.select_for_update() locks.ovalseven8
2018-10-02Refs #11964 -- Changed CheckConstraint() signature to use keyword-only ↵Simon Charette
arguments. Also renamed the `constraint` argument to `check` to better represent which part of the constraint the provided `Q` object represents.
2018-10-01Added tests for using bytearray with BinaryField and corrected docs.Jon Dufresne
2018-09-26Added test of filtering on BinaryField and corrected docs.Jon Dufresne
2018-09-25Normalized spelling of "lowercase" and "lowercased".Jon Dufresne
2018-09-18Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.Tom Forbes
2018-09-13Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.Ramiro Morales
Thanks Ramiro Morales for contributing to the patch.
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-08-28Fixed typo in docs/ref/models/fields.txt.Matt Wiens
2018-08-23Fixed #29048 -- Added **extra_context to database function as_vendor() methods.priyanshsaxena
2018-08-18Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.Sigurd Ljødal
2018-08-16Fixed #29646 -- Doc'd the validators that each model and form field uses.Jeff