django-geoip

App to figure out where your visitors are from by their IP address.

Detects country, region and city, querying the database with geodata.
Optional high-level API provides user location in request object.

Note

Currentrly django-geoip supports only ipgeobase.ru backend.
It provides accurate geolocation in Russia and Ukraine only.
There are plans to add other backends in future releases.

Contributing

You can grab latest code on dev branch at Github.

Feel free to submit issues, pull requests are also welcome.

Good contributions follow simple guidelines