Continual of django-ltree
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
Please remember to uninstall django-ltree
before installing django-ltree-2
, since both uses django_ltree
namespace.
pip install django-ltree-2
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 3.2 or superior
- Python 3.9 or higher
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
File details
Details for the file django_ltree_2-0.1.10.tar.gz
.
File metadata
- Download URL: django_ltree_2-0.1.10.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1540aced6564429865b6330dfe7bbacbb3cedfdff3823b546859265117c9f048 |
|
MD5 | acd7ba48a7319c6d62f69753df13cce4 |
|
BLAKE2b-256 | f5ac0bdd266c0799db692b31be9a40be6f1608fbe9938a6a2b1e581a20bf8f18 |
Provenance
The following attestation bundles were made for django_ltree_2-0.1.10.tar.gz
:
Publisher:
CI.yml
on baseplate-admin/django-ltree-2
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
django_ltree_2-0.1.10.tar.gz
- Subject digest:
1540aced6564429865b6330dfe7bbacbb3cedfdff3823b546859265117c9f048
- Sigstore transparency entry: 147799585
- Sigstore integration time:
- Predicate type:
File details
Details for the file django_ltree_2-0.1.10-py3-none-any.whl
.
File metadata
- Download URL: django_ltree_2-0.1.10-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b3b51c5b97beda5254cdf0dcef83a5c4258c791e3b2b6c331d1e52a8b1dd6a2 |
|
MD5 | ecf0e2091ce5dfa0d3a74b4dd26a2357 |
|
BLAKE2b-256 | 9c87e69e1335bd357a02649fef064f26c0231507a4fa510f7d338b3a625c7c35 |
Provenance
The following attestation bundles were made for django_ltree_2-0.1.10-py3-none-any.whl
:
Publisher:
CI.yml
on baseplate-admin/django-ltree-2
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
django_ltree_2-0.1.10-py3-none-any.whl
- Subject digest:
1b3b51c5b97beda5254cdf0dcef83a5c4258c791e3b2b6c331d1e52a8b1dd6a2
- Sigstore transparency entry: 147799586
- Sigstore integration time:
- Predicate type: