mirror of
https://github.com/django/django.git
synced 2024-12-24 10:05:46 +00:00
0b6f05ede6
The Model.from_db() is intended to be used in cases where customization of model loading is needed. Reasons can be performance, or adding custom behavior to the model (for example "dirty field tracking" to issue automatic update_fields when saving models). A big thank you to Tim Graham for the review! |
||
---|---|---|
.. | ||
class.txt | ||
custom-lookups.txt | ||
fields.txt | ||
index.txt | ||
instances.txt | ||
options.txt | ||
queries.txt | ||
querysets.txt | ||
relations.txt |