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.

Files for django-ubigeo-peru, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size django_ubigeo_peru-0.3.2-py3-none-any.whl (32.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-ubigeo-peru-0.3.2.tar.gz (29.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page