django-ubigeo-peru

Django app for applications that require to use the ubigeos of INEI of Peru.


Keywords
ubigeos, peru
License
BSD-3-Clause
Install
pip install django-ubigeo-peru==0.4.0

Documentation

Django-Ubigeo-Peru

django-ubigeo-peru, is an app that will allow you to easily implement the ubiquites of INEI (Perú) in your django app.

Instalar

In your settings.py

    INSTALLED_APPS = (
        ....
        'ubigeos',
    )

Run

python manage.py migrate
python manage.py loaddata ubigeos.json

In your urls.py

For Django <= 1.11.x

    urlpatterns = patterns('',
        ....
        (r'^ubigeos/', include('ubigeos.urls')),
    )

For Django 2.x

    urlpatterns = patterns('',
        ....
        path('ubigeos/', include('ubigeos.urls')),
    )

Licencia

See LICENSE