Show More
@@ -133,7 +133,7 b' class Tag(models.Model, Viewable):' | |||||
133 | return self.required |
|
133 | return self.required | |
134 |
|
134 | |||
135 | def _get_locale_cache_key(self): |
|
135 | def _get_locale_cache_key(self): | |
136 |
return |
|
136 | return [get_language()] | |
137 |
|
137 | |||
138 | @cached_result(key_method=_get_locale_cache_key) |
|
138 | @cached_result(key_method=_get_locale_cache_key) | |
139 | def get_localized_name(self): |
|
139 | def get_localized_name(self): |
General Comments 0
You need to be logged in to leave comments.
Login now