mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-17 04:10:24 +00:00
1.10 fix
This commit is contained in:
parent
5f6e4b45d8
commit
7ec978e1d8
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class FieldInstanceTracker(object):
|
|||
|
||||
def init_deferred_fields(self):
|
||||
self.instance._deferred_fields = []
|
||||
if not self.instance._deferred:
|
||||
if hasattr(self.instance, '_deferred') and not self.instance._deferred:
|
||||
return
|
||||
|
||||
class DeferredAttributeTracker(DeferredAttribute):
|
||||
|
|
|
|||
Loading…
Reference in a new issue