Skip to main content

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

Project description

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

Config

For Django >= 4.x use django-ubigeo-peru>=0.5.0

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 and above

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.5.0.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_ubigeo_peru-0.5.0-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file django-ubigeo-peru-0.5.0.tar.gz.

File metadata

  • Download URL: django-ubigeo-peru-0.5.0.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for django-ubigeo-peru-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d0140b1d70196459742d484e4914b7da90fd88c1dd8a35715bc186f03a82dbdf
MD5 664abd335961996a2547afdb82c39428
BLAKE2b-256 8ca0e2d56fc1336f324905dfd29d9fabb07b8a61317b394a0d13eaa03aaf2625

See more details on using hashes here.

File details

Details for the file django_ubigeo_peru-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_ubigeo_peru-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc4c9a96b926627c849afe83269adfd01fd4244463a623a99a65b0e0cf8ef07b
MD5 a6156f5c0b72326250318c976c6d40de
BLAKE2b-256 7a2a2154589ca816a08f1bfcbe58bd72eec99e4cf4ed771133ece5a904648523

See more details on using hashes here.

Supported by

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