summaryrefslogtreecommitdiff
path: root/docs/ref/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #33717 -- Dropped support for PostgreSQL 11.Mariusz Felisiak2022-05-191-4/+3
|
* Refs #30581 -- Updated count of steps in model validation docs.Joachim Jablon2022-05-181-1/+1
| | | | Follow-up to 667105877e6723c6985399803a364848891513cc.
* Removed versionadded/changed annotations for 4.0.Carlton Gibson2022-05-176-39/+0
|
* Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy ↵Mariusz Felisiak2022-05-121-2/+22
| | | | | and Expression.asc()/desc(). Thanks Allen Jonathan David for the initial patch.
* Fixed #30581 -- Added support for Meta.constraints validation.Gagaro2022-05-102-26/+107
| | | | Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews.
* Fixed #33680 -- Corrected example of customizing model loading in docs.Ali Toosi2022-05-061-1/+3
|
* Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4.Mariusz Felisiak2022-05-041-1/+1
|
* Removed hyphen from pre-/re- prefixes.David2022-04-281-2/+2
| | | | | | | | | | | | | | | "prepopulate", "preload", and "preprocessing" are already in the spelling_wordlist. This also removes hyphen from double "e" combinations with "pre" and "re", e.g. preexisting, preempt, reestablish, or reenter. See also: - https://ahdictionary.com/word/search.html?q=rerun - https://ahdictionary.com/word/search.html?q=recreate - https://ahdictionary.com/word/search.html?q=predetermined - https://ahdictionary.com/word/search.html?q=reuse - https://ahdictionary.com/word/search.html?q=reopening
* Fixed #33646 -- Added async-compatible interface to QuerySet.Andrew Godwin2022-04-261-8/+191
| | | | | | | Thanks Simon Charette for reviews. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33508 -- Corrected note about MySQL/MariaDB support of index ordering.Hannes Ljungberg2022-04-201-2/+6
|
* Corrected models.FileField signature in docs.Sih Sîng-hông薛丞宏2022-03-281-1/+1
|
* Refs #32365 -- Removed internal uses of utils.timezone.utc alias.Carlton Gibson2022-03-241-10/+6
| | | | | Remaining test case ensures that uses of the alias are mapped canonically by the migration writer.
* Added missing backticks to function names.Mariusz Felisiak2022-03-171-2/+2
|
* Doc'd BaseConstraint.Gagaro2022-03-161-16/+18
|
* Changed some words to use inline markup.David Smith2022-03-101-1/+1
|
* Fixed #29865 -- Added logical XOR support for Q() and querysets.Ryan Heard2022-03-041-2/+40
|
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-222-4/+4
| | | | Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager.
* Fixed #29984 -- Added QuerySet.iterator() support for prefetching related ↵Jacob Walls2022-01-251-7/+33
| | | | | | | objects. Co-authored-by: Raphael Kimmig <raphael.kimmig@ampad.de> Co-authored-by: Simon Charette <charette.s@gmail.com>
* Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create().sean_c_hsu2022-01-191-4/+18
| | | | | Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews.
* Fixed #33391 -- Clarified Aggregate.empty_result_set_value docs.Mariusz Felisiak2021-12-311-3/+2
|
* Avoided counting attributes and methods in docs.Mariusz Felisiak2021-12-282-33/+23
|
* Corrected example in models.DecimalField docs.Beomsoo Kim2021-12-131-1/+1
|
* Refs #33319 -- Added note about commutation of QuerySet's | operator.Ömer Faruk Abacı2021-12-081-0/+3
|
* Fixed #33335 -- Made model validation ignore functional unique constraints.Hannes Ljungberg2021-12-061-4/+6
| | | | | | Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks Hervé Le Roy for the report.
* Fixed #33334 -- Alphabetized form and model fields in reference docs.Shivam Durgbuns2021-12-021-31/+31
|
* Fixed #33304 -- Allowed passing string expressions to Window(order_by).Simon Charette2021-11-231-14/+17
|
* Corrected signatures of QuerySet's methods.Mariusz Felisiak2021-11-231-7/+7
|
* Fixed #33198 -- Corrected BinaryField.max_length docs.Nick Frazier2021-10-181-2/+2
|
* Fixed #22224 -- Added note about supplying missing values for non-nullable ↵Jacob Walls2021-10-051-0/+6
| | | | fields with blank=True.
* Fixed #32888 -- Doc'd that select_for_update() only locks tables with ↵Hannes Ljungberg2021-10-041-0/+6
| | | | selected columns.
* Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+.Nick Pope2021-10-011-3/+9
|
* Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵David Wobrock2021-09-291-6/+6
| | | | empty_result_set_value.
* Fixed #33129 -- Dropped support for MariaDB 10.2.Mariusz Felisiak2021-09-222-4/+3
|
* Removed versionadded/changed annotations for 3.2.Mariusz Felisiak2021-09-207-79/+0
|
* Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson2021-09-162-23/+42
| | | | | Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
* Clarified type of Window()'s partition_by and order_by arguments.David Sanders2021-09-101-5/+6
|
* Fixed #33084 -- Removed incorrect system check for ManyToManyField with ↵Hasan Ramezani2021-09-091-4/+0
| | | | limit_choices_to.
* Fixed #33046 -- Added note about using length of cached result by ↵Can Sarıgöl2021-08-261-0/+3
| | | | QuerySet.count().
* Refs #32956 -- Updated words ending in -wards.David Smith2021-07-301-2/+2
| | | | AP styleguide: Virtually none of the words ending with -wards end with an s.
* Made minor edits to QuerySet.update_or_create() docs.Abhyudai2021-07-291-1/+1
|
* Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith2021-07-293-6/+6
| | | | appropriate.
* Fixed #32957 -- Improved visibility of arguments sections in Model.save() docs.abhiabhi942021-07-261-0/+6
|
* Fixed #10929 -- Added default argument to aggregates.Nick Pope2021-07-193-14/+44
| | | | Thanks to Simon Charette and Adam Johnson for the reviews.
* Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ↵Ian Foote2021-07-093-6/+35
| | | | | | | | QuerySet.filter(). Thanks Hannes Ljungberg and Simon Charette for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #32908 -- Allowed select_for_update(skip_locked) on MariaDB 10.6+.Mariusz Felisiak2021-07-081-5/+9
|
* Documented in_bulk behavior with nonexistent id_list items.Claude Paroz2021-07-071-1/+4
| | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Refs #26430 -- Re-introduced empty aggregation optimization.Simon Charette2021-07-021-0/+17
| | | | | | | | | | | | The introduction of the Expression.empty_aggregate_value interface allows the compilation stage to enable the EmptyResultSet optimization if all the aggregates expressions implement it. This also removes unnecessary RegrCount/Count.convert_value() methods. Disabling the empty result set aggregation optimization when it wasn't appropriate prevented None returned for a Count aggregation value. Thanks Nick Pope for the review.
* Fixed #32381 -- Made QuerySet.bulk_update() return the number of objects ↵abhiabhi942021-06-291-1/+11
| | | | | | updated. Co-authored-by: Diego Lima <diego.lima@lais.huol.ufrn.br>
* Fixed #32755 -- Corrected Model.get_absolute_url() example in docs.Girish Sontakke2021-05-181-1/+1
|
* Fixed a typo in docs/ref/models/fields.txt.Nick Pope2021-05-121-1/+1
| | | | datetime.date.utcnow() doesn't exist, should be .today().