it's _name_cache not name_cache
This commit is contained in:
parent
5f2ca60432
commit
dfe7d10574
3 changed files with 6 additions and 6 deletions
|
@ -65,7 +65,7 @@ class LevelGeometryMixin(GeometryMixin):
|
|||
@property
|
||||
def subtitle(self):
|
||||
base_subtitle = super().subtitle
|
||||
level = getattr(self, 'level_cache', None)
|
||||
level = getattr(self, '_level_cache', None)
|
||||
if level is not None:
|
||||
return format_lazy(_('{category}, {level}'),
|
||||
category=base_subtitle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue