From d0cfcf678c10e6a1b89a2b0864d695acf89b54e1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 25 May 2018 12:15:03 +0200 Subject: Fix profile migration (alays create a current) --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e4c6d0e9a..a5bf6cf3a 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2680,7 +2680,7 @@ class Person(Address, Merge, OwnPerms, ValueGetter): res = cache.get(cache_key) if res in (True, False): return res - # list all cache key in order to clean them on profiel change + # list all cache key in order to clean them on profile change cache_key_list = 'sessionlist-{}'.format(session.session_key) key_list = cache.get(cache_key_list, []) key_list.append(cache_key) -- cgit v1.2.3