Metadata-Version: 2.1
Name: django-ubigeo-peru
Version: 0.3.2
Summary: Django app para aplicaciones que requieran usar los ubigeos de INEI del Perú.
Home-page: https://gitlab.com/miguelcumpa/django-ubigeo-peru
Author: Miguel Ángel Cumpa Ascuña
Author-email: miguel.cumpa@yandex.com
License: BSD
Download-URL: https://pypi.org/project/django-ubigeo-peru/
Keywords: ubigeos,peru
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
Description-Content-Type: text/markdown
Requires-Dist: django
Requires-Dist: djangorestframework
Requires-Dist: django-filter

# Django-Ubigeo-Peru

django-ubigeo-peru, is an app that will allow you to easily implement the ubiquites of INEI (Perú) in your django app.


## Config

In your settings.py

```python
    INSTALLED_APPS = (
        ....
        'ubigeos',
    )
```
Run

```bash
python manage.py migrate
python manage.py loaddata ubigeos.json
```

In your urls.py

For Django <= 1.11.x

```python
    urlpatterns = patterns('',
        ....
        (r'^ubigeos/', include('ubigeos.urls')),
    )
```
For Django 2.x

```python
    urlpatterns = patterns('',
        ....
        path('ubigeos/', include('ubigeos.urls')),
    )
```


## License
BSD


