Continual of django-ltree
Reason this release was yanked:
The version has issue
Project description
django-ltree
A tree extension implementation to support hierarchical tree-like data in Django models,
using the native Postgres extension ltree
.
Postgresql has already a optimized and very useful tree implementation for data. The extension is ltree
This fork contains is a continuation of the work done by mariocesar
on django-ltree
and merges the work done by simkimsia
on greendeploy-django-ltree
Install
pip install django-ltree
Then add django_ltree
to INSTALLED_APPS
in your Django project settings.
INSTALLED_APPS = [
...,
'django_ltree',
...
]
Then use it like this:
from django_ltree.models import TreeModel
class CustomTree(TreeModel):
...
Requires
- Django 5.0 or superior
- Python 3.10 or higher
Roadmaps
- Write documentation on how to use this repository. (If you need a quick way to check things, please check the
tests/test_model.py
file)
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
django_ltree_2-0.1.4.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for django_ltree_2-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c554f0d6d3e85b7c667fcea3c6a341dce8ce6d137112282f25503df058a8e83d |
|
MD5 | bb02ce8a0506407b88de56b6e4206af5 |
|
BLAKE2b-256 | db92b716ffab3e02a3187e1f0e3f10a223367ccb3b3769597c1d758e9a9e1802 |