summaryrefslogtreecommitdiff
path: root/docs/ref/models
AgeCommit message (Collapse)Author
2020-07-22[3.1.x] Fixed typo in docs/ref/models/querysets.txt.Ramiro Morales
Backport of 51e536178cba9489b9d759f69f72f442af16ba32 from master
2020-07-22[3.1.x] Doc'd Model.MultipleObjectsReturned docs and improved documentation ↵Adam Johnson
related with models exceptions. Backport of bc4fea92b296a7eacbd5f89263ca67515feeb53f from master
2020-07-22[3.1.x] Refs #24763 -- Moved DoesNotExist to Model class docs.Adam Johnson
Backport of b5f0efa19c82d274082bcde8a8acae5038667614 from master
2020-07-17[3.1.x] Improved ManyToManyField.through docs.Adam Johnson
Backport of e7fa8aff432a90b6df9914d63aad239164b6b4d4 from master
2020-07-08[3.1.x] Fixed #31502 -- Documented Model._state.db and Model._state.addingTim Park
Backport of 697e59d5cf81e6c7e4a06ca98d6e3e16cea486dc from master
2020-06-26[3.1.x] Fixed #31743 -- Doc't that managed=False prevents Django from ↵Steven Pousty
managing tables modifications. Backport of d2c135da4c75079e45661ec609bd72f27dddf2a9 from master
2020-06-15[3.1.x] Fixed #31689 -- Doc'd caveat about using bulk_create()'s ↵Tobias Krönke
ignore_conflicts on MariDB and MySQL. Backport of 69e0d9c553bb55dde8d7d1d479a78bfa7093f406 from master
2020-06-04[3.1.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.Hasan Ramezani
Backport of 55556e51fb152c864ddc782d9b56e8b785ccf8bc from master
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-06Improved wording in Q() docs.Adam Johnson
2020-05-06Fixed a/an typos in "SQL" usage.Adam Johnson
2020-05-04Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and ↵Adam Johnson
comments.
2020-05-04Corrected models.FilePathField signature in docs.Adam Johnson
2020-04-30Fixed #20581 -- Added support for deferrable unique constraints.Ian Foote
2020-04-25Fixed #31514 -- Fixed default form widgets in model fields docs.Hasan Ramezani
2020-04-24Refs #31369 -- Deprecated models.NullBooleanField in favor of ↵Tim Schilling
BooleanField(null=True).
2020-04-14Fixed term warning on Sphinx 3.0.1+.Mariusz Felisiak
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-08Fixed #28184 -- Allowed using a callable for FileField and ImageField storage.miigotu
2020-04-07Fixed Sphinx warnings on duplicate object descriptions.Mariusz Felisiak
2020-04-01Prevented (and corrected) single backtick usage in docs.Adam Johnson
2020-03-31Fixed #31403 -- Added support for returning fields from INSERT statements on ↵Adam Johnson
MariaDB 10.5+.
2020-03-20Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().Hasan Ramezani
Thanks Simon Charette for the review and Mariusz Felisiak for tests.
2020-03-18Fixed #31368 -- Doc'd 'expression' parameter of ↵Hasan Ramezani
Field.from_db_value()/Expression.convert_value().
2020-03-06Doc'd return values of as_sql() for Func and query expressions.Adam Johnson
2020-03-06Added missing backticks in various docs.Mariusz Felisiak
2020-02-27Fixed #31313 -- Fixed is_upperclass() example in enumeration types docs.Andrey Doroschenko
2020-02-18Fixed #31282 -- Corrected RelatedManager docs for using add/remove/set with PKs.Carlton Gibson
2020-02-10Fixed #31003 -- Doc'd and tested return value of QuerySet.bulk_create().Adam Johnson
2020-01-17Added missing backtick in instances docs.Claude Paroz
2020-01-15Fixed #31124 -- Fixed setting of get_FOO_display() when overriding inherited ↵Carlton Gibson
choices. Regression in 2d38eb0ab9f78d68c083a5b78b1eca39027b279a
2019-12-30Refs #29260 -- Doc'd Model.save() behavior change in Django 3.0.Simon Charette
2019-12-21Fixed #31110 -- Fixed typo in docs/ref/models/expressions.txt.Taoup
2019-12-03Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept ↵Baptiste Mispelon
callable values in through_defaults.
2019-12-02Fixed #30953 -- Made select_for_update() lock queryset's model when using ↵Mariusz Felisiak
"self" with multi-table inheritance. Thanks Abhijeet Viswa for the report and initial patch.
2019-11-27Fixed #31029 -- Used more specific links to RFCs.Baptiste Mispelon
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-11-19Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading ↵Daniel Izquierdo
deletions while protecting direct ones.
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-11-11Fixed #30958 -- Used a clearer example in the Cast() docs.Farhaan Bukhsh
2019-11-08Fixed #24858 -- Added support for get_FOO_display() to ArrayField and ↵Hasan Ramezani
RangeFields. _get_FIELD_display() crashed when Field.choices was unhashable.
2019-11-05Fixed #30928 -- Clarified MySQL/MariaDB support of ↵kola-er
QuerySet.select_for_update() options. Thanks Par Andersson for reporting the issue.
2019-10-24Refs #30897 -- Made cosmetic edits to QuerySet.explain() documentation.Carlton Gibson
2019-10-24Refs #30897 -- Added support for ANALYZE option to Queryset.explain() on ↵Nick Pope
MariaDB and MySQL 8.0.18+.
2019-10-24Refs #30897 -- Added support for TREE format to Queryset.explain() on MySQL ↵Nick Pope
8.0.16+.
2019-10-22Refs #13724 -- Corrected QuerySet signature in docs.Antonio Dudarev
2019-10-21Fixed #30841 -- Deprecated using non-boolean values for isnull lookup.André Ericson
2019-10-02Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day ↵Anatol Ulrich
lookup.
2019-10-02Added missing import in ref/models/database-functions.txt.Mariusz Felisiak
2019-09-23Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on ↵Mariusz Felisiak
PostgreSQL.
2019-09-14Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.Claude Paroz