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:
1 parent
04a6e16975
commit
25e944ada7
6 files changed
+39
-7
No files matched your search
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user