places
This commit is contained in:
parent
9e2f2b3666
commit
21d701d198
2 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Reference in a new issue