diff --git a/GeoffreyApp/models.py b/GeoffreyApp/models.py index 7dae7f8..76de4c7 100644 --- a/GeoffreyApp/models.py +++ b/GeoffreyApp/models.py @@ -259,8 +259,8 @@ class Location(models.Model): return self.market elif hasattr(self, "attraction"): return self.attraction - elif hasattr(self, "pointofintrest"): - return self.pointofintrest + elif hasattr(self, "pointofinterest"): + return self.pointofinterest else: return self