places
This commit is contained in:
parent
1e57ecc423
commit
4b9ea3731a
2 changed files with 1 additions and 2 deletions
|
@ -37,7 +37,6 @@ class Place(models.Model):
|
||||||
lat = models.FloatField(default=0)
|
lat = models.FloatField(default=0)
|
||||||
lng = models.FloatField(default=0)
|
lng = models.FloatField(default=0)
|
||||||
size = models.FloatField(default=0)
|
size = models.FloatField(default=0)
|
||||||
size = models.FloatField(default=0)
|
|
||||||
|
|
||||||
matches = models.IntegerField(default=0)
|
matches = models.IntegerField(default=0)
|
||||||
|
|
||||||
|
|
|
@ -194,7 +194,7 @@ def findPlaces(request):
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
range: result range, array [from, to]
|
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:
|
with keys, items is list of dicts with requested properties:
|
||||||
return {'status': {'code': int, 'text': string},
|
return {'status': {'code': int, 'text': string},
|
||||||
|
|
Loading…
Reference in a new issue