From 94961f09bb234fce80442e824239262e5b48ea42 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Wed, 13 Jun 2018 13:15:41 -0400 Subject: [PATCH] Switch from ipinfo.io to freegeoip because of API call limits --- events/location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/location.py b/events/location.py index 919694d..164c3ef 100644 --- a/events/location.py +++ b/events/location.py @@ -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):