summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2014-06-06 15:35:40 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2014-07-01 16:31:01 +0300
commit0b6f05ede648ce62a5c91c7c38a0a362711f0656 (patch)
tree237b90271be5ef71ecd97309a59b4bb6e0027afd /tests/basic
parentc26579eaa76a465fbe8a18205fd756a377f7a4da (diff)
Fixed #19501 -- added Model.from_db() method
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!
Diffstat (limited to 'tests/basic')
0 files changed, 0 insertions, 0 deletions