From 21d701d1987c1144782993a7022756fd9b6ed97a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 28 May 2011 13:18:45 +0200 Subject: [PATCH] places --- pandora/place/models.py | 1 - pandora/place/views.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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},