karanlyons / django-save-the-change

Your DB Got It the First Time.
http://django-save-the-change.readthedocs.io
Other
114 stars 29 forks source link

Deferred Fields Broken in Django 1.8 #14

Closed karanlyons closed 7 years ago

karanlyons commented 9 years ago

As referenced in 06aa98871424d2cf76f377108019b81b419cc117, deferred fields are completely broken in 1.8, blowing the stack in a recursive loop. We need a way to detect when a deferred field is having its value hydrated and just pass that setattr through. Right now we can’t detect it and try to grab the old value, which leads to the field trying to hydrate and so on ad nauseam.

karanlyons commented 7 years ago

Fixed in 2.0. I think.