diff --git a/pandora/place/models.py b/pandora/place/models.py index 5aa0dba06..beace7898 100644 --- a/pandora/place/models.py +++ b/pandora/place/models.py @@ -37,7 +37,6 @@ class Place(models.Model): lat = models.FloatField(default=0) lng = models.FloatField(default=0) size = models.FloatField(default=0) - size = models.FloatField(default=0) matches = models.IntegerField(default=0) diff --git a/pandora/place/views.py b/pandora/place/views.py index d691aa8e9..2b593b916 100644 --- a/pandora/place/views.py +++ b/pandora/place/views.py @@ -194,7 +194,7 @@ def findPlaces(request): } ] range: result range, array [from, to] - area: [south, west, north, east] only return places in that square + area: {south:, west:, north:, east:} only return places in that square with keys, items is list of dicts with requested properties: return {'status': {'code': int, 'text': string},