Skip to main content

Django app para aplicaciones que requieran usar los ubigeos de INEI del Perú.

Project description

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.

Config

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')),
    )

License

BSD

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-ubigeo-peru-0.3.2.tar.gz (29.7 kB view hashes)

Uploaded Source

Built Distribution

django_ubigeo_peru-0.3.2-py3-none-any.whl (32.5 kB view hashes)

Uploaded Python 3

Supported by

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