From 2329dab84f0743a48f704a22cc5818251229eaa3 Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Wed, 8 Jan 2020 14:56:14 -0600 Subject: [PATCH] Fixed typo in `loc_child_obj` --- GeoffreyApp/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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