diff --git a/GeoffreyApp/models.py b/GeoffreyApp/models.py index 448dcfe..d77e006 100644 --- a/GeoffreyApp/models.py +++ b/GeoffreyApp/models.py @@ -259,6 +259,8 @@ class Location(models.Model): return self.market elif hasattr(self, "attraction"): return self.attraction + elif hasattr(self, "pointofintrest"): + return self.pointofintrest else: return self