@property
    def coordinates(self):
        try:
            from haystack.utils.geo import Point
        except __HOLE__:
            return None
        else:
            return Point(self.longitude, self.latitude, srid=4326)
dataset/ETHPy150Open inonit/drf-haystack/tests/mockapp/models.py/MockLocation.coordinates