diff --git a/src/c3nav/mapdata/models/locations.py b/src/c3nav/mapdata/models/locations.py index d2588798..5f14a466 100644 --- a/src/c3nav/mapdata/models/locations.py +++ b/src/c3nav/mapdata/models/locations.py @@ -33,7 +33,6 @@ class LocationSlug(SerializableMixin, models.Model): objects = LocationSlugManager() def get_child(self): - # todo: cache this for model in get_submodels(Location)+[LocationRedirect]: with suppress(AttributeError): return getattr(self, model._meta.default_related_name)