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):