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.
Requires Django 1.4+, supports python 2 & 3.