rename cache_key→current_cache_key

This commit is contained in:
Laura Klünder 2017-10-23 22:49:45 +02:00
parent 2124b4a536
commit 82fc9f2264
6 changed files with 10 additions and 6 deletions

View file

@ -80,7 +80,7 @@ class BoundsMixin(SerializableMixin, models.Model):
@classmethod
def max_bounds(cls):
cache_key = 'mapdata:max_bounds:%s:%s' % (cls.__name__, MapUpdate.cache_key())
cache_key = 'mapdata:max_bounds:%s:%s' % (cls.__name__, MapUpdate.current_cache_key())
result = cache.get(cache_key, None)
if result is not None:
return result