mirror of
https://github.com/django/django.git
synced 2025-01-14 12:27:24 +00:00
ed0ff913c6
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. |
||
---|---|---|
.. | ||
_images | ||
auth | ||
class-based-views | ||
db | ||
forms | ||
http | ||
i18n | ||
testing | ||
cache.txt | ||
checks.txt | ||
conditional-view-processing.txt | ||
email.txt | ||
external-packages.txt | ||
files.txt | ||
index.txt | ||
install.txt | ||
logging.txt | ||
migrations.txt | ||
pagination.txt | ||
performance.txt | ||
python3.txt | ||
security.txt | ||
serialization.txt | ||
settings.txt | ||
signals.txt | ||
signing.txt | ||
templates.txt |