some more outline to search_json
This commit is contained in:
parent
e1241a49fd
commit
3a5253aaab
|
@ -8,6 +8,10 @@ def search(request):
|
|||
return render_to_response("search.html", d)
|
||||
|
||||
def search_json(request):
|
||||
search_term = request.GET.get("search", "")
|
||||
bbox = request.GET.get("bbox", False)
|
||||
if not bbox:
|
||||
return render_to_json_response({'error': 'no bbox parameter'})
|
||||
d = {}
|
||||
return render_to_json_response(d)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user