Added points of interest to `loc_child_obj`
+ fixes issues with not being able to find the page for POI objectsdoc_update
parent
743c64fd17
commit
e5723e260d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue