Django-teryt-tree is a Django app that implements TERYT database as tree by django-mptt.
Project description
Django-teryt-tree is a Django app that implements TERYT database as tree by django-mptt.
Documentation
The full documentation is at https://django-teryt-tree.readthedocs.org.
Quickstart
Install django-teryt-tree:
pip install django-teryt-tree
Then add to INSTALLEDA__APPS:
INSTALLED_APPS+=('teryt_tree')
Then use it in a project:
import teryt_tree
or:
from teryt_tree.models import JednostkaAdministracyjna
To load TERC register database:
wget "http://www.stat.gov.pl/broker/access/prefile/downloadPreFile.jspa?id=1110" -O TERC.xml.zip unzip TERC.xml.zip pip install lxml python manage.py load_teryt TERC.xml rm TERC.xml*
Features
TODO
History
0.5.0 (2016-04-14)
Added TravisCI badge in README.rst
Added download_url in setup.py
0.4.0 (2016-04-14)
Remove PassThroughManagerMixin
0.1.0 (2015-10-02)
First release on PyPI.
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
Close
Hashes for django_teryt_tree-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 242c09aada2825a19b74e5d690f361f0bca85c0c1714412b622d113e2467a232 |
|
MD5 | 299e857bd0ecb2c8d9a95c9ddab2ffbc |
|
BLAKE2b-256 | 67ee3d021fb6c541694db1ece242a78c77f951bacbdbebee3612cbb2cd17b4cf |