Political-Administrative Division of Chile
Project description
Django Political-Administrative Division of Chile
=================================================
Regiones - Provincias - Comunas
=================================================
This fork was created to update the package to work with the latest versions of Django 3.2+ and Python, as the original developer appears to be inactive.
Information obtained from the api of Modernization and Digital Government Unit
https://apis.digital.gob.cl/dpa
Pypi
====
https://pypi.org/project/django3-dpa-chile/
Installation
install django3-dpa-chile using pip
pip install django3-dpa-chile
add d3_dpa_chile to INSTALLED_APPS
settings.py
# ...
INSTALLED_APPS =[
...
'd3_dpa_chile',
]
# ...
Populate
python manage.py migrate django3_dpa_chile
python manage.py populate_dpa_chile
Use
from django3_dpa_chile.models import Region, Provincia, Comuna
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django3_dpa_chile-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 225880355bedcdd7342f0bea9346a9bcc4f3ccf1a78eb122154ee1bb6139300e |
|
MD5 | 0c5f80e8140baa532f50e81c22e88489 |
|
BLAKE2b-256 | 485c65ef56d78380e7bcc291d62905eb9ef7da9927499e5bff802384f4e27b90 |