##// END OF EJS Templates
Speed up tag local cache
neko259 -
r2021:b8cdd5b1 default
parent child Browse files
Show More
@@ -133,7 +133,7 b' class Tag(models.Model, Viewable):'
133 133 return self.required
134 134
135 135 def _get_locale_cache_key(self):
136 return '{}_{}'.format(self.id, get_language())
136 return [get_language()]
137 137
138 138 @cached_result(key_method=_get_locale_cache_key)
139 139 def get_localized_name(self):
General Comments 0
You need to be logged in to leave comments. Login now