Skip to main content

Django-teryt-tree is a Django app that implements TERYT database as tree by django-mptt.

Project description

https://badge.fury.io/py/django-teryt-tree.png https://travis-ci.org/ad-m/django-teryt-tree.png?branch=master https://coveralls.io/repos/ad-m/django-teryt-tree/badge.svg?branch=master&service=github

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

Cookiecutter Tools Used in Making This Package

  • cookiecutter

  • cookiecutter-djangopackage

History

0.2.0 (2016-04-14)

  • Remove PassThroughManagerMixin

0.1.0 (2015-10-02)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

django-teryt-tree-0.4.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

django_teryt_tree-0.4.0-py2.py3-none-any.whl (10.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-teryt-tree-0.4.0.tar.gz.

File metadata

File hashes

Hashes for django-teryt-tree-0.4.0.tar.gz
Algorithm Hash digest
SHA256 cf3490a8df673a40584ffd6761f61ddc663a2814d7684cd3ffc744562fe60ce2
MD5 fe820b30581fa1c5ae89d056226c80ba
BLAKE2b-256 6c70a3cf791354529f6cb9c5dfd7f1d559e11208568a75be7751600350746291

See more details on using hashes here.

Provenance

File details

Details for the file django_teryt_tree-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_teryt_tree-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a92110f2752e50f02423002faa3b202b28a21196fa7a24ecdbcd190a43eb74cf
MD5 3a054c455c3c22e92335bdb70c863a34
BLAKE2b-256 b954aaee5878b280bdd58476318372ca14d17c6721ab3e16e2a2aba24d45c2ff

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page