fix changeset cache_key
This commit is contained in:
parent
2c053e3d0f
commit
ceafc2e1cb
2 changed files with 2 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue