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.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35eaa7a38c741987d3639040db3743f7ccd8ffd1135c6b8e2de20728528c62db |
|
MD5 | fcfae781454e4bf52aa1e224361f265d |
|
BLAKE2b-256 | 0e16a4b0bf2e9f55029420346be68caa1c02bbe1a7808bf358a00a2f35b77d0d |