예제 #1
0
 def update_cache():
     return Location.get_clustered_locations(Flight.takeoff_location_wkt,
                                             filter=(Flight.pilot == self.user))
예제 #2
0
파일: users.py 프로젝트: Plantain/Skylines
 def get_takeoff_locations(self):
     return Location.get_clustered_locations(Flight.takeoff_location_wkt,
                                             filter=(Flight.pilot == self.user))