[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
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](https://github.com/jupitercl/django-dpa-chile) 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
Raw data
{
"_id": null,
"home_page": "https://github.com/zubus/django3-dpa-chile",
"name": "django3-dpa-chile",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "django chile regiones comunas provincias",
"author": "Cristian Z\u00fa\u00f1iga",
"author_email": "contacto@nyumba.cl",
"download_url": "https://files.pythonhosted.org/packages/59/94/08ef1dfcddceb75c5b851d0bb108cc4d417c028c55affa4a661f7f56702b/django3-dpa-chile-0.4.0.tar.gz",
"platform": null,
"description": "[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)\n\n\n\nDjango Political-Administrative Division of Chile\n\nDivisi\u00f3n Pol\u00edtica-Administrativa de Chile para Django\n\n\n\n=================================================\n\n\n\n``Regiones - Provincias - Comunas``\n\n=================================================\n\n\n\nThis 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](https://github.com/jupitercl/django-dpa-chile) appears to be inactive.\n\n\n\nInformation obtained from the api of Modernization and Digital Government Unit\n\n\n\nhttps://apis.digital.gob.cl/dpa\n\n\n\nPypi\n\n====\n\n\n\nhttps://pypi.org/project/django3-dpa-chile/\n\n\n\nInstallation\n\n------------\n\n\n\nInstall **django3-dpa-chile** using **pip**\n\n\n\n\n\n pip install django3-dpa-chile\n\n\n\nAdd **d3_dpa_chile** to **INSTALLED_APPS**\n\n\n\nsettings.py\n\n-----------\n\n\n\n # ...\n\n\n\n INSTALLED_APPS =[\n\n ...\n\n 'd3_dpa_chile',\n\n ]\n\n\n\n # ...\n\n\n\nPopulate\n\n--------\n\n\n\n python manage.py migrate d3_dpa_chile\n\n\n\n python manage.py populate_dpa_chile\n\n\n\nUse\n\n---\n\n\n\n from d3_dpa_chile.models import Region, Provincia, Comuna\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Political-Administrative Division of Chile",
"version": "0.4.0",
"split_keywords": [
"django",
"chile",
"regiones",
"comunas",
"provincias"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1c1f7294fff02ff9d6803cc722129f6f939501cddb03538100995d6ca6cf08cf",
"md5": "12f247c2a664f5f3ba76f5529c8c3b8a",
"sha256": "f3e102cf91ed1636f59d95fb6984c94bb03e0bea94fdda55af28ca7b53f56911"
},
"downloads": -1,
"filename": "django3_dpa_chile-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "12f247c2a664f5f3ba76f5529c8c3b8a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5944,
"upload_time": "2023-03-19T02:44:57",
"upload_time_iso_8601": "2023-03-19T02:44:57.957953Z",
"url": "https://files.pythonhosted.org/packages/1c/1f/7294fff02ff9d6803cc722129f6f939501cddb03538100995d6ca6cf08cf/django3_dpa_chile-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "599408ef1dfcddceb75c5b851d0bb108cc4d417c028c55affa4a661f7f56702b",
"md5": "16ee00deefa0f3d9575588fa592b33c9",
"sha256": "91c3972f54e345720fac077b72efe707c9c73d860d66e9977b7b797a782af5b8"
},
"downloads": -1,
"filename": "django3-dpa-chile-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "16ee00deefa0f3d9575588fa592b33c9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5421,
"upload_time": "2023-03-19T02:44:59",
"upload_time_iso_8601": "2023-03-19T02:44:59.977319Z",
"url": "https://files.pythonhosted.org/packages/59/94/08ef1dfcddceb75c5b851d0bb108cc4d417c028c55affa4a661f7f56702b/django3-dpa-chile-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-19 02:44:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "zubus",
"github_project": "django3-dpa-chile",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django3-dpa-chile"
}