forked from expo/troggle
added entrance locations
This commit is contained in:
@@ -568,6 +568,12 @@ class Entrance(TroggleModel):
|
||||
def __unicode__(self):
|
||||
return unicode(self.slug())
|
||||
|
||||
def exact_location(self):
|
||||
return SurvexStation.objects.lookup(self.exact_station)
|
||||
def other_location(self):
|
||||
return SurvexStation.objects.lookup(self.other_station)
|
||||
|
||||
|
||||
def find_location(self):
|
||||
if self.tag_station:
|
||||
s = SurvexStation.objects.lookup(self.tag_station)
|
||||
|
||||
Reference in New Issue
Block a user