Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Political-Administrative Division of Chile

Project Description

Django Political-Administrative Division of Chile

Regiones - Provincias - Comunas

Information obtained from the api of Modernization and Digital Government Unit

https://apis.digital.gob.cl/dpa

IMPORT REMOVE OLD VERSION <= 2.0.5

Force remove foreign key

DROP TABLES django_dpa_region DROP TABLES django_dpa_provincia DROP TABLES django_dpa_comuna

Installation

install django-dpa-chile using pip

pip install django-dpa-chile

add dpa_chile to INSTALLED_APPS

settings.py

# …

INSTALLED_APPS =[ … ‘dpa_chile’, ]

# …

Populate

python manage.py migrate django_dpa_chile

python manage.py populate_dpa_chile

Use

from django_dpa_chile.models import Region, Provincia, Comuna

Release History

This version
History Node

3.0.0

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

2.0.1

History Node

2.0.0

History Node

1.0.7b1

History Node

1.0.6b1

History Node

1.0.5b1

History Node

1.0.4b1

History Node

1.0.3b1

History Node

1.0.2b1

History Node

1.0.1b1

History Node

1.0.0b1

History Node

0.2.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django-dpa-chile-3.0.0.tar.gz
(4.1 kB) Copy SHA256 Hash SHA256
Source None Aug 28, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting