Fixed typo in `loc_child_obj`

doc_update
Joey Hines 2020-01-08 14:56:14 -06:00
parent 2f2fd0f200
commit 2329dab84f
1 changed files with 2 additions and 2 deletions

View File

@ -259,8 +259,8 @@ class Location(models.Model):
return self.market return self.market
elif hasattr(self, "attraction"): elif hasattr(self, "attraction"):
return self.attraction return self.attraction
elif hasattr(self, "pointofintrest"): elif hasattr(self, "pointofinterest"):
return self.pointofintrest return self.pointofinterest
else: else:
return self return self