Metadata-Version: 1.1
Name: django-geoipdb-loader
Version: 0.1.0
Summary: Helps download and keep updated maxmind's geoip db required for django GeoIP
Home-page: https://github.com/kalekseev/django-geoipdb-loader
Author: Konstantin Alekseev
Author-email: kv.alekseev@gmail.com
License: UNKNOWN
Description: ======================
        Django GeoIP DB Loader
        ======================
        
        
        
        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 http://dev.maxmind.com/geoip/geoipupdate/
        This app was designed for quick and easy setup of geoipdb via django settings.
        
        
        Installation
        ============
        
        Using pip::
        
            pip install django-geoipdb-loader
        
        Add the app to INSTALLED_APPS in settings file and configure GEOIP_PATH::
        
            INSTALLED_APPS = [
                ...
                geoipdb_loader,
                ...
            ]
        
            GEOIP_PATH = '/myproject/geoip'
        
        Run `manage.py download_geoipdb` to download geoip files
        
        
        In order to automatically update the geoip files you can use provided celery task::
        
            CELERYBEAT_SCHEDULE = {
                'update-geoipdb': {
                    'task': 'geoipdb_loader.tasks.update_geoipdb',
                    'schedule': crontab(day_of_week=7),
                },
            }
        
        or crontab::
        
            * * * * 7 manage.py download_geoipdb
        
Keywords: django,geoip
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
