summaryrefslogtreecommitdiff
path: root/django/db/models/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #27654 -- Propagated alters_data attribute to callables overridden in ↵LightDiscord2022-11-041-0/+17
| | | | | | | subclasses. Thanks Shai Berger and Adam Johnson for reviews and the implementation idea.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-3/+3
|
* Refs #32355 -- Used @functools.lru_cache as a straight decorator.Mariusz Felisiak2021-09-271-2/+2
|
* Fixed #32812 -- Restored immutability of named values from ↵Takayuki Hirayama2021-06-041-1/+5
| | | | | | | | QuerySet.values_list(). Regression in 981a072dd4dec586f8fc606712ed9a2ef116eeee. Thanks pirelle for the report.
* Fixed #31843 -- Fixed pickling named values from QuerySet.values_list().Kwist2020-09-161-0/+18
|
* Refs #31046 -- Added django.db.models.utils.resolve_callables().Baptiste Mispelon2019-12-031-0/+9
|
* Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan2017-02-281-2/+2
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-4/+1
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and ↵Alex Hill2016-05-191-9/+15
| | | | tests
* Fixed #24215 -- Refactored lazy model operationsAlex Hill2015-03-251-0/+18
This adds a new method, Apps.lazy_model_operation(), and a helper function, lazy_related_operation(), which together supersede add_lazy_relation() and make lazy model operations the responsibility of the App registry. This system no longer uses the class_prepared signal.