Skip to content

Commit

Permalink
add lat long
Browse files Browse the repository at this point in the history
  • Loading branch information
station committed Jul 25, 2016
1 parent f793201 commit be4a215
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@ def post(self, request, *args, **kwargs):
'status': 1,
'username': profile.account.username,
'password': profile.account.password,
'auth': auth,
'auth_service': auth,
'min_cp': profile.min_cp,
'port': profile.connection.port,
'latitude': profile.settings.latitude,
'longitude': profile.settings.longitude,

}
json_response = json.dumps(data)
return HttpResponse(json_response)
Expand Down

0 comments on commit be4a215

Please sign in to comment.