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.2.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.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a92110f2752e50f02423002faa3b202b28a21196fa7a24ecdbcd190a43eb74cf |
|
MD5 | 3a054c455c3c22e92335bdb70c863a34 |
|
BLAKE2b-256 | b954aaee5878b280bdd58476318372ca14d17c6721ab3e16e2a2aba24d45c2ff |