fix changeset cache_key

This commit is contained in:
Laura Klünder 2017-07-06 00:24:39 +02:00
parent 2c053e3d0f
commit ceafc2e1cb
2 changed files with 2 additions and 3 deletions

View file

@ -423,8 +423,7 @@ class ChangeSet(models.Model):
@property
def cache_key_by_changes(self):
return ':'.join(('editor:changeset_view_data', str(self.pk),
MapUpdate.cache_key(), self.last_change_cache_key))
return ':'.join((str(self.pk), MapUpdate.cache_key(), self.last_change_cache_key))
def get_absolute_url(self):
if self.pk is None: