Closed robbyt closed 9 years ago
Problem is this library does not support IPv6 addresses. There is same geoip file for IPv6 as for IPv4. I have made pull request with IPv6 support, but it was not merged. I admit I did not update docs and did not test it. That might be problem. I thought I would get some comments anyway. https://github.com/Miserlou/django-easy-timezones/pull/7
Sorry for not addressing this earlier, I haven't had the time to check on this package and haven't used it in a few years.
IPv6 support is a must, but it needs a proper testing environment. And, more generally, we need a better consensus on what to do in case of failure - ideally something configurable in the settings, with a sane default.
Thanks for bringing this to my attention.
We receive periodic middleware errors from by users with unresolvable IPs (mini-stacktrace attached)
This fix will handle those unresolvable IPs.