pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-django-mptt
Module Name: pkgsrc
Committed By: adam
Date: Wed Oct 28 08:59:40 UTC 2026
Modified Files:
pkgsrc/www/py-django-mptt: Makefile distinfo
Log Message:
py-django-mptt: updated to 0.21.0
0.21 (2026-10-27)
Fixed tree methods of proxy models with a filtering custom manager (e.g. get_queryset().filter(level=2)) only seeing the filtered rows: e.g. get_root() raised DoesNotExist, and inserting nodes
through such a manager corrupted the tree. Tree operations now use an unfiltered tree manager bound to the proxy model, so they still return proxy instances.
TreeManager.db_manager() now passes the database on to the manager that proxy and multi-table inheritance models delegate tree operations to.
Tree writes (inserting, moving and deleting nodes, rebuild(), partial_rebuild(), build_tree_nodes()) now always see every row, even if the model's tree manager is a TreeManager subclass which filters
get_queryset(). Previously, hidden nodes could lead to crashes or a corrupted tree, e.g. duplicate tree ids or child nodes left behind in the wrong tree. Positions for order_insertion_by now also
take hidden siblings into account. Read methods such as get_children() still apply the filter.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/www/py-django-mptt/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/www/py-django-mptt/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-django-mptt/Makefile
diff -u pkgsrc/www/py-django-mptt/Makefile:1.31 pkgsrc/www/py-django-mptt/Makefile:1.32
--- pkgsrc/www/py-django-mptt/Makefile:1.31 Sat Oct 24 10:08:26 2026
+++ pkgsrc/www/py-django-mptt/Makefile Wed Oct 28 08:59:40 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2026/10/24 10:08:26 adam Exp $
+# $NetBSD: Makefile,v 1.32 2026/10/28 08:59:40 adam Exp $
-DISTNAME= django_mptt-0.20.0
+DISTNAME= django_mptt-0.21.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/django-mptt/}
Index: pkgsrc/www/py-django-mptt/distinfo
diff -u pkgsrc/www/py-django-mptt/distinfo:1.23 pkgsrc/www/py-django-mptt/distinfo:1.24
--- pkgsrc/www/py-django-mptt/distinfo:1.23 Sat Oct 24 10:08:26 2026
+++ pkgsrc/www/py-django-mptt/distinfo Wed Oct 28 08:59:40 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2026/10/24 10:08:26 adam Exp $
+$NetBSD: distinfo,v 1.24 2026/10/28 08:59:40 adam Exp $
-BLAKE2s (django_mptt-0.20.0.tar.gz) = 1864100ea30400ec119f5f3a6759d353c258f9166a968dee712ecbd24bb6a855
-SHA512 (django_mptt-0.20.0.tar.gz) = 0fb056c393d7ece4eb9193b0f57224295cd42bc2d1827dbd563dee473a6f6939edef8fb34173d75f3a87dcd1f0d610e663b8c316341d4c619790e1d085fae1a1
-Size (django_mptt-0.20.0.tar.gz) = 73969 bytes
+BLAKE2s (django_mptt-0.21.0.tar.gz) = 727e4e3aae0fa91c236d02e49b8015c4e67a9c6d9ff749bd426a335d25b908a3
+SHA512 (django_mptt-0.21.0.tar.gz) = 45d1324360c69fd458f2e46cf25975e72e5b3f578f4ee45298a7af8330b02985fba54ffee4776d955411f3bc2d77483c48a92316174d82794d9c690e39e1e439
+Size (django_mptt-0.21.0.tar.gz) = 74464 bytes
Home |
Main Index |
Thread Index |
Old Index