Last active
December 5, 2016 12:03
-
-
Save anishmenon/262caae6f2b3543d76cf7d9672139a34 to your computer and use it in GitHub Desktop.
sanjaytestlat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
def sanjay(request): | |
rg = request.GET.get | |
print rg('q') | |
response_data = {} | |
response_data['status']='success' | |
response_data['arr'] = [{'lat':12112.333,'lon':34343.344},{'lat':1212323.333,'lon':34343.344}] | |
return HttpResponse(json.dumps(response_data), content_type='application/json') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment