| Age | Commit message (Collapse) | Author |
|
|
|
|
|
models' default and base managers.
This deprecates use_for_related_fields.
Old API:
class CustomManager(models.Model):
use_for_related_fields = True
class Model(models.Model):
custom_manager = CustomManager()
New API:
class Model(models.Model):
custom_manager = CustomManager()
class Meta:
base_manager_name = 'custom_manager'
Refs #20932, #25897.
Thanks Carl Meyer for the guidance throughout this work.
Thanks Tim Graham for writing the docs.
|
|
|
|
|
|
|
|
Thanks Tim Graham for completing the initial patch.
|
|
|
|
Didn't touch comments where it wasn't obvious that the code adhered to
the newer standard.
|
|
deferred instance loading.
|
|
|
|
Unused since afe0bb7b13bb8dc4370f32225238012c873b0ee3.
|
|
|
|
Thanks Sai Krishna for the initial patch.
|
|
Thanks Pablo Oubiña for the report.
|
|
Thanks Ian Foote for the initial patch.
|
|
|
|
|
|
|
|
Thanks tomaszn for the patch.
|
|
ensure ordered results.
Thanks Simon Charette for review.
|
|
|
|
|
|
objects.
PostgreSQL support only.
Thanks Vladislav Manchev and alesasnouski for working on the patch.
|
|
|
|
behave.
This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e.
Thanks Tim for the review.
Refs #25858.
|
|
|
|
|
|
Thanks Luke Crouch for the report and Simon Charette for the review.
|
|
third-party backends.
Thanks Kristof Claes for the initial patch.
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Thomas Güttler for the suggestion.
|
|
|
|
Thanks to Tim Graham for the review.
|
|
|
|
|
|
The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
values_list() and get().
|
|
|