[ trixie ]
[ sid ]
[ Источник: python-django-tree-queries ]
Пакет: python3-django-tree-queries (0.19-1)
Ссылки для python3-django-tree-queries
Ресурсы Debian:
- Сообщения об ошибках
- Developer Information
- Debian журнал изменений
- Файл авторских прав
- Отслеживание заплат Debian
Исходный код python-django-tree-queries:
- [python-django-tree-queries_0.19-1.dsc]
- [python-django-tree-queries_0.19.orig.tar.gz]
- [python-django-tree-queries_0.19-1.debian.tar.xz]
Сопровождающие:
Внешние ресурсы:
- Сайт [github.com]
Подобные пакеты:
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.
Другие пакеты, относящиеся к python3-django-tree-queries
|
|
|
|
-
- dep: python3
- интерактивный высокоуровневый объектно-ориентированный язык (версия python3 по умолчанию)
-
- dep: python3-django
- выскоуровневая инфраструктура для веб-разработки на Python
-
- sug: python-django-tree-queries-doc
- Adjacency-list trees for Django (Documentation)
Загрузка python3-django-tree-queries
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 17,9 Кб | 61,0 Кб | [список файлов] |