Пример #1
0
 def geo_point(self):
     if self.location and len(self.location) > 0:
         return  loc_to_point(self.location[0])
     elif self.organization:
         return self.organization.geo_point
Пример #2
0
 def geo_point(self):
     if self.location and len(self.location) > 0:
         return loc_to_point(self.location[0])
Пример #3
0
 def geo_point(self):
     if self.pref_address:
         return addr_to_point(self.pref_address)
     elif self.location and len(self.location) > 0:
         return loc_to_point(self.location[0])
Пример #4
0
 def geo_point(self):
     if self.location and len(self.location) > 0:
         return  loc_to_point(self.location[0])
     elif self.publisher:
         return self.publisher.geo_point