python-django-tree-queries 0.19-1 source package in Ubuntu
Changelog
python-django-tree-queries (0.19-1) unstable; urgency=low * New upstream version 0.19 * Refresh patches. * Use dh-sequence-python3. * Bump Standards-Version to 4.7.0. -- Michael Fladischer <email address hidden> Thu, 18 Jul 2024 21:05:59 +0000
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-django-tree-queries_0.19-1.dsc | 2.1 KiB | 4534b8ac78336bdeb06c88f113eb8e20a94df5febc2496870df381fe1e632482 |
python-django-tree-queries_0.19.orig.tar.gz | 23.2 KiB | eb02a6d3f439f1d2203e1ac1f147b504902ad11f006dca3f81064fb3d7f95572 |
python-django-tree-queries_0.19-1.debian.tar.xz | 4.9 KiB | 31f1a11375a34dbe2fbf49d8ffee85620e003c018e8625f31732cfcc90bddae3 |
Available diffs
- diff from 0.18-1 to 0.19-1 (8.2 KiB)
No changes file available.
Binary packages built by this source
- python-django-tree-queries-doc: Adjacency-list trees for Django (Documentation)
Query Django model trees using adjacency lists and recursive common table
expressions. Supports PostgreSQL, sqlite3 and MariaDB and MySQL.
.
Features and limitations:
* Supports only integer and UUID primary keys (for now).
* Allows specifying ordering among siblings.
* Uses the correct definition of depth, where root nodes have a depth of
zero.
* The parent foreign key must be named "parent" at the moment.
* The fields added by the common table expression always are tree_depth,
tree_path and tree_ordering. The names cannot be changed. tree_depth is an
integer, tree_path an array of primary keys and tree_ordering an array of
values used for ordering nodes within their siblings.
* Besides adding the fields mentioned above the package only adds queryset
methods for ordering siblings and filtering ancestors and descendants.
* Little code, and relatively simple when compared to other tree management
solutions for Django. No redundant values so the only way to end up with
corrupt data is by introducing a loop in the tree structure (making it a
graph). The TreeNode abstract model class has some protection against this.
* Supports only trees with max. 50 levels on MySQL/MariaDB, since those
databases do not support arrays and require a maximum length for the
tree_path and tree_ordering upfront.
.
This package contains the documentation.
- python3-django-tree-queries: Adjacency-list trees for Django (Python3 version)
Query Django model trees using adjacency lists and recursive common table
expressions. Supports PostgreSQL, sqlite3 and MariaDB and MySQL.
.
Features and limitations:
* Supports only integer and UUID primary keys (for now).
* Allows specifying ordering among siblings.
* Uses the correct definition of depth, where root nodes have a depth of
zero.
* The parent foreign key must be named "parent" at the moment.
* The fields added by the common table expression always are tree_depth,
tree_path and tree_ordering. The names cannot be changed. tree_depth is an
integer, tree_path an array of primary keys and tree_ordering an array of
values used for ordering nodes within their siblings.
* Besides adding the fields mentioned above the package only adds queryset
methods for ordering siblings and filtering ancestors and descendants.
* Little code, and relatively simple when compared to other tree management
solutions for Django. No redundant values so the only way to end up with
corrupt data is by introducing a loop in the tree structure (making it a
graph). The TreeNode abstract model class has some protection against this.
* Supports only trees with max. 50 levels on MySQL/MariaDB, since those
databases do not support arrays and require a maximum length for the
tree_path and tree_ordering upfront.
.
This package contains the Python 3 version of the library.