djangosnippets.org: Latest snippets tagged with 'maxmind'https://djangosnippets.org/tags/maxmind/2019-06-26T07:14:46.596639-05:00Django management command to update local Maxmind Geoip databases
2019-06-26T07:14:46.596639-05:00pakalhttps://djangosnippets.org/snippets/10674/<p>This management command updates country and city Geolite databases from Maxmind (binary databases, not CSV ones), for use with Django's builtin Geoip utilities.</p>
Freely redistributableMaxMind(R) GeoIP Lite CSV Import
2007-07-18T20:55:43.363148-05:00jbronnhttps://djangosnippets.org/snippets/328/<p>Use this script to import the Maxmind GeoIP lite CSV datasets into your database. This takes at least 200MB of RAM; the resulting database will be ~400MB. Stick in the same directory as the <a href="http://www.djangosnippets.org/snippets/327/">models</a>. Make sure to set <code>DEBUG=False</code> to prevent running out of memory during import.</p>
Freely redistributableMaxMind(R) GeoIP Lite geolocation models
2007-07-18T20:49:11.932111-05:00jbronnhttps://djangosnippets.org/snippets/327/<p>This provides GeoDjango models for the maxmind GeoIP Lite data products. Use the corresponding <a href="http://www.djangosnippets.org/snippets/328/">CSV import script</a> for data import. Requires: <a href="http://code.djangoproject.com/wiki/GeoDjango">GeoDjango</a> and the <a href="http://code.djangoproject.com/attachment/ticket/399/django-bigint-20070712.patch">BigIntegerField patch</a> by Peter Nixon. </p>
Freely redistributable