summaryrefslogtreecommitdiff
path: root/docs/ref/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields ↵Mariusz Felisiak2021-04-141-1/+2
| | | | | | | on MySQL/MariaDB. Thanks Matt Westcott for the report. Regression in 779e615e362108862f1681f965ee9e4f1d0ae6d2.
* Fixed #32501 -- Added support for returning fields from INSERT statements on ↵girishsontakke2021-04-071-1/+6
| | | | SQLite 3.35+.
* Fixed #31487 -- Added precision argument to Round().Nick Pope2021-03-291-5/+10
|
* Refs #31003 -- Moved note about return value of QuerySet.bulk_create() to ↵Claude Paroz2021-03-251-4/+2
| | | | the first paragraph.
* Doc'd that RawSQL can be used with __in.Simon Willison2021-03-251-1/+5
|
* Refs #32460 -- Doc'd and tested that property names of model choice enums ↵Nick Pope2021-03-241-0/+5
| | | | cannot be used as members.
* Fixed #32483 -- Fixed QuerySet.values()/values_list() on JSONField key ↵Mariusz Felisiak2021-03-231-12/+0
| | | | | | transforms with booleans on SQLite. Thanks Matthew Cornell for the report.
* Fixed #24141 -- Added QuerySet.contains().Johan Schiff2021-03-061-17/+33
|
* Refs #32483 -- Doc'd caveat about using JSONField key transforms to booleans ↵Mariusz Felisiak2021-03-041-0/+12
| | | | with QuerySet.values()/values_list() on SQLite.
* Fixed #30916 -- Added support for functional unique constraints.Hannes Ljungberg2021-02-231-1/+21
| | | | Thanks Ian Foote and Mariusz Felisiak for reviews.
* Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about duplicates for ↵Timothy McCurrach2021-01-281-1/+2
| | | | multiple batches.
* Refs #32372 -- Updated manager name in related objects reference docs.Jack2021-01-221-1/+1
| | | Follow up to 725c549ae7a34d83447201da7190f8d71c7fc2fc.
* Fixed #32372 -- Made examples in related objects reference docs consistent.Jack Aitken2021-01-221-3/+3
|
* Refs #31369 -- Removed models.NullBooleanField per deprecation timeline.Mariusz Felisiak2021-01-141-11/+0
|
* Refs #30841 -- Made isnull lookup raise ValueError for non-boolean values.Mariusz Felisiak2021-01-141-5/+0
| | | | Per deprecation timeline.
* Removed versionadded/changed annotations for 3.1.Mariusz Felisiak2021-01-146-50/+0
|
* Fixed #26167 -- Added support for functional indexes.Hannes Ljungberg2021-01-131-3/+48
| | | | | | Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
* Removed unused import in docs/ref/models/expressions.txt. (#13879)Mariusz Felisiak2021-01-121-1/+1
|
* Fixed #32313 -- Corrected QuerySet.in_bulk() signature.Iuri de Silvio2021-01-111-1/+1
|
* Fixed #32315 -- Doc'd FieldFile.path.Hasan Ramezani2021-01-071-0/+6
|
* Fixed #32231 -- Allowed passing None params to QuerySet.raw().Alexander Lyabah2021-01-051-1/+6
|
* Fixed #32310 -- Fixed note about reverse accessors for intermediate table ↵Fabio Sangiovanni2021-01-041-5/+3
| | | | for self-referential ManyToManyField.
* Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0.Mariusz Felisiak2020-12-301-1/+1
|
* Corrected code-block directives in docs/ref/models/meta.txt.Jon Dufresne2020-12-211-2/+2
|
* Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes2020-12-151-3/+11
| | | | | This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
* Added backticks to code literals in various docs.Jon Dufresne2020-12-152-3/+3
|
* Refs #31792 -- Updated SQL example in Exists() docs.Kevin Marsh2020-12-101-2/+3
| | | | Follow up to 51297a92324976a704279b567ec4f80bb92d7b60.
* Fixed #32179 -- Added JSONObject database function.Artur Beltsov2020-12-021-0/+23
|
* Fixed #25534, Fixed #31639 -- Added support for transform references in ↵Ian Foote2020-11-272-12/+28
| | | | | | expressions. Thanks Mariusz Felisiak and Simon Charette for reviews.
* Refs #27718 -- Doc'd and tested QuerySet.exists() for combined querysets.David-Wobrock2020-11-161-5/+5
| | | | Supported since 84c1826ded17b2d74f66717fb745fc36e37949fd.
* Fixed #31122 -- Clarified that Lookup acts as a query expression.Caio Ariede2020-11-111-3/+2
|
* Fixed #32060 -- Added Random database function.Nick Pope2020-10-021-0/+9
|
* Fixed example of QuerySet.explain() with flags in docs.Paweł Zarębski2020-09-231-1/+1
|
* Fixed #31777 -- Added support for database collations to Char/TextFields.Tom Carrick2020-09-211-8/+39
| | | | Thanks Simon Charette and Mariusz Felisiak for reviews.
* Refs #28939 -- Doc’d Prefetch behavior with multiple DBs.Mike Lissner2020-09-171-0/+24
|
* Corrected exception types in QuerySet docs.Mariusz Felisiak2020-09-131-3/+2
|
* Fixed #31943 -- Fixed recreating QuerySet.values()/values_list() when using ↵Hasan Ramezani2020-09-111-0/+14
| | | | a pickled Query.
* Fixed #31948 -- Added tzinfo parameter to TruncDate() and TruncTime().Joe Jackson2020-09-021-2/+10
|
* Fixed #31918 -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.Kaustubh2020-08-261-2/+9
|
* Fixed #21181 -- Added Collate database function.Tom Carrick2020-08-111-0/+19
| | | | Thanks Simon Charette for reviews.
* Removed unnecessary sentence in QuerySet docs.Adam Alton2020-08-071-2/+1
|
* Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.Alexandr Tatarinov2020-07-311-0/+36
| | | | | | | | QuerySet.alias() allows creating reusable aliases for expressions that don't need to be selected but are used for filtering, ordering, or as a part of complex expressions. Thanks Simon Charette for reviews.
* Fixed typo in docs/ref/models/querysets.txt.Ramiro Morales2020-07-221-2/+2
|
* Doc'd Model.MultipleObjectsReturned docs and improved documentation related ↵Adam Johnson2020-07-223-24/+48
| | | | with models exceptions.
* Refs #24763 -- Moved DoesNotExist to Model class docs.Adam Johnson2020-07-222-14/+14
|
* Improved ManyToManyField.through docs.Adam Johnson2020-07-171-1/+10
|
* Refs #30446 -- Removed unnecessary Value(..., output_field) in docs and tests.Simon Charette2020-07-151-3/+1
|
* Fixed #30446 -- Resolved Value.output_field for stdlib types.Simon Charette2020-07-151-1/+9
| | | | | | This required implementing a limited form of dynamic dispatch to combine expressions with numerical output. Refs #26355 should eventually provide a better interface for that.
* Fixed #31770 -- Allowed select_for_update(of) on MySQL 8.0.1+.Simon Charette2020-07-131-3/+5
|
* Fixed #29789 -- Added support for nested relations to FilteredRelation.matt ferrante2020-07-091-11/+4
|