mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-05-16 16:41:07 +00:00
Hashes table invalidation keys.
This commit is contained in:
parent
c89b8e0b60
commit
5a2fb5e172
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ def _get_tables(query):
|
|||
|
||||
|
||||
def _get_table_cache_key(table):
|
||||
return '%s_queries' % table
|
||||
return md5('%s_queries' % table).hexdigest()
|
||||
|
||||
|
||||
def _get_tables_cache_keys(query):
|
||||
|
|
|
|||
Loading…
Reference in a new issue