Branch: refs/heads/master Home: https://github.com/django/django Commit: 0b6f05ede648ce62a5c91c7c38a0a362711f0656 https://github.com/django/django/commit/0b6f05ede648ce62a5c91c7c38a0a362711f0656 Author: Anssi Kääriäinen <akaar...@gmail.com> Date: 2014-07-01 (Tue, 01 Jul 2014)
Changed paths: M django/db/models/base.py M django/db/models/query.py M docs/ref/models/instances.txt M docs/releases/1.8.txt Log Message: ----------- 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! -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/53b2b7d3c1bf8_61431001d3c41216%40hookshot-fe1-cp1-prd.iad.github.net.mail. For more options, visit https://groups.google.com/d/optout.