Political-Administrative Division of Chile
Project description
Django Political-Administrative Division of Chile
División Política-Administrativa de Chile para Django
=================================================
Regiones - Provincias - Comunas
=================================================
This fork was created to update the package to work with the latest versions of Django 3.2+ (4.1 included) 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 d3_dpa_chile
python manage.py populate_dpa_chile
Use
from d3_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.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3e102cf91ed1636f59d95fb6984c94bb03e0bea94fdda55af28ca7b53f56911 |
|
MD5 | 12f247c2a664f5f3ba76f5529c8c3b8a |
|
BLAKE2b-256 | 1c1f7294fff02ff9d6803cc722129f6f939501cddb03538100995d6ca6cf08cf |