Skip to main content

Django GeoIP. Based on default DB or Redis.

Project description

Demo installation:

$ mkvirtualenv django-geoip-redis
$ git clone
$ cd django-geoip-redis
$ python develop
$ cd demo
$ pip install -r requirements.txt
$ python syncdb
$ python migrate
$ python loaddata ../fixtures/db.json
$ python runserver
$ python sync_with_redis
$ python shell
>>> from geoip import record_by_addr
>>> print ','.join(record_by_addr(''))

If you want use native db for local development, you can add GEO_BACKEND = 'db' into your

Bitdeli badge

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-geoip-redis-1.0.1.tar.gz (8.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page