Updating GeoIP databaseΒΆ

Note

Currentrly django-geoip-redis supports only ipgeobase.ru backend.

To update your database::

python manage.py update_geo_db

Warning

This is irreversible operation, do not use on production!

Note

If you’re having 2006, 'MySQL server has gone away' error during database update, setting max_allowed_packet to a higher value might help. E.g. max_allowed_packet=16M

Previous topic

Under the hood

Next topic

Settings

This Page