summaryrefslogtreecommitdiff
path: root/ishtar_common/menus.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/menus.py')
-rw-r--r--ishtar_common/menus.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/menus.py b/ishtar_common/menus.py
index 0f0ed6d29..770990a5e 100644
--- a/ishtar_common/menus.py
+++ b/ishtar_common/menus.py
@@ -80,7 +80,7 @@ class Menu:
"""
Force cache deletion and reinitialization of menu for all
"""
- lst_cache_key = u"{}-{}".format(
+ lst_cache_key = "{}-{}".format(
settings.PROJECT_SLUG, 'menu_updated_list',
)
lst_ids = cache.get(lst_cache_key)
@@ -93,7 +93,7 @@ class Menu:
"""
Stock updated information in cache
"""
- lst_cache_key = u"{}-{}".format(
+ lst_cache_key = "{}-{}".format(
settings.PROJECT_SLUG, 'menu_updated_list',
)
lst_ids = cache.get(lst_cache_key)
@@ -120,7 +120,7 @@ class Menu:
self.user = User.objects.get(pk=user_id)
except User.DoesNotExist:
return
- cache_key = u"{}-{}-{}".format(
+ cache_key = "{}-{}-{}".format(
settings.PROJECT_SLUG, 'menu_updated',
user_id
)