Switch from ipinfo.io to freegeoip because of API call limits

This commit is contained in:
Michael Hall 2018-06-13 13:15:41 -04:00
parent 9ddc993cd5
commit 94961f09bb

View file

@ -34,7 +34,7 @@ def get_geoip(request):
else:
raise Exception("Client is localhost")
g = geocoder.ip(client_ip)
g = geocoder.freegeoip(client_ip)
return g
def get_bounding_box(center, radius):