Metadata-Version: 2.1
Name: django3-dpa-chile
Version: 0.2.0
Summary: Political-Administrative Division of Chile
Home-page: https://github.com/zubus/django3-dpa-chile
Author: Cristian Zúñiga
Author-email: contacto@nyumba.cl
License: MIT
Keywords: django chile comunas regiones provincias
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 3.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: Spanish
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
License-File: LICENSE

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](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 django3_dpa_chile



    python manage.py populate_dpa_chile



Use

---



    from django3_dpa_chile.models import Region, Provincia, Comuna

