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.

Development

You can grab latest code on dev branch at Github.

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

Tests

You can run testsuite this way:

python manage.py runtests.py

More on tests

Project Versions

Table Of Contents

Next topic

Installation

This Page