don't cast ugettext_lazy calls to str, as our json encoder is now clever

This commit is contained in:
Laura Klünder 2017-11-30 01:10:49 +01:00
parent 2d292844d6
commit a7c140a2ac
7 changed files with 26 additions and 28 deletions

View file

@ -60,7 +60,7 @@ class SpaceGeometryMixin(GeometryMixin):
def details_display(self):
result = super().details_display()
result['display'].insert(3, (
str(_('Space')),
_('Space'),
{
'id': self.space_id,
'slug': self.space.get_slug(),