hopefully fix error with redirects

This commit is contained in:
Laura Klünder 2018-12-25 22:35:01 +01:00
parent a4558ed5b2
commit 370b5293ea

View file

@ -344,7 +344,7 @@ class ChangeSet(models.Model):
# todo: fix this
continue
objects.setdefault(LocationSlug, {})[target.pk] = target
objects.setdefault(target.__class__, {})[target.pk] = target
objects.setdefault(target._obj.__class__, {})[target.pk] = target
return objects