Fixed typo in `loc_child_obj`
parent
2f2fd0f200
commit
2329dab84f
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue