fix cache key again
This commit is contained in:
parent
c70dbc3655
commit
08e6bffb72
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ def changeset_detail(request, pk):
|
||||||
}
|
}
|
||||||
|
|
||||||
cache_key = '%s:%s:%s:view_data' % (changeset.cache_key_by_changes,
|
cache_key = '%s:%s:%s:view_data' % (changeset.cache_key_by_changes,
|
||||||
changeset.last_update.strftime('%s'),
|
changeset.last_update_id,
|
||||||
int(can_edit))
|
int(can_edit))
|
||||||
changed_objects_data = cache.get(cache_key)
|
changed_objects_data = cache.get(cache_key)
|
||||||
if changed_objects_data:
|
if changed_objects_data:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue