was this the bug?
This commit is contained in:
parent
370b5293ea
commit
b241c5f0d7
1 changed files with 2 additions and 2 deletions
|
@ -343,8 +343,8 @@ class ChangeSet(models.Model):
|
||||||
except FieldDoesNotExist:
|
except FieldDoesNotExist:
|
||||||
# todo: fix this
|
# todo: fix this
|
||||||
continue
|
continue
|
||||||
objects.setdefault(LocationSlug, {})[target.pk] = target
|
objects.setdefault(LocationSlug, {})[target.pk] = target._obj
|
||||||
objects.setdefault(target._obj.__class__, {})[target.pk] = target
|
objects.setdefault(target.__class__, {})[target.pk] = target._obj
|
||||||
|
|
||||||
return objects
|
return objects
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue