Fix AttributeError on rack and device pages

NetBox 4.7 lists related objects via Model.objects.restrict(), which the
plain FloorPlanItem manager lacked. Drop the reverse accessors from rack
and device (related_name='+') and use a RestrictedQuerySet manager.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-04 13:23:02 +01:00
1 parent 04a6e16975
commit 25e944ada7
6 files changed
+39 -7

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "netbox-floorplanner"
version = "0.1.3"
version = "0.1.4"
description = "Modern drag & drop floor plan designer for NetBox 4.7+"
readme = "README.md"
license = "Apache-2.0"