Skip to main content

Helps download and keep updated maxmind's geoip db required for django GeoIP

Project description

Helps download and keep updated maxmind’s geoip db required for django GeoIP2 (django 1.9+)

Why and when to use?

If you don’t mind installing and configuring official geoipupdate binary on your server then I’d recommend to use it This app was designed for quick and easy setup of geoipdb via django settings.


Using pip:

pip install django-geoipdb-loader

Add the app to INSTALLED_APPS in settings file and configure GEOIP_PATH:


GEOIP_PATH = '/myproject/geoip'

Run download_geoipdb to download geoip files

In order to automatically update the geoip files you can use provided celery task:

    'update-geoipdb': {
        'task': 'geoipdb_loader.tasks.update_geoipdb',
        'schedule': crontab(day_of_week=7),

or crontab:

* * * * 7 download_geoipdb

Project details

Download files

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

Source Distribution

django-geoipdb-loader-0.1.0.tar.gz (6.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page