From 4e021459844dd6f5ef951b832875d3b1b48a72fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Fri, 24 Nov 2023 17:25:34 +0100 Subject: [PATCH] pro tip: fix bugs in all places --- src/c3nav/mapdata/models/locations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/models/locations.py b/src/c3nav/mapdata/models/locations.py index 957c3fc0..2af6eb52 100644 --- a/src/c3nav/mapdata/models/locations.py +++ b/src/c3nav/mapdata/models/locations.py @@ -538,7 +538,7 @@ class DynamicLocation(CustomLocationProxyMixin, SpecificLocation, models.Model): 'id': self.pk, 'slug': self.slug, 'icon': self.get_icon(), - 'title': self.title, + 'title': str(self.title), 'subtitle': '%s %s, %s' % (_('currently unavailable'), _('(moving)'), self.subtitle) } result = custom_location.serialize(simple_geometry=True)