rename cache_key→current_cache_key
This commit is contained in:
parent
2124b4a536
commit
82fc9f2264
6 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue