fix cache key again

This commit is contained in:
Laura Klünder 2017-12-19 18:49:42 +01:00
parent c70dbc3655
commit 08e6bffb72

View file

@ -181,7 +181,7 @@ def changeset_detail(request, pk):
}
cache_key = '%s:%s:%s:view_data' % (changeset.cache_key_by_changes,
changeset.last_update.strftime('%s'),
changeset.last_update_id,
int(can_edit))
changed_objects_data = cache.get(cache_key)
if changed_objects_data: