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
@@ -1,7 +1,7 @@
from django.utils.translation import gettext_lazy as _
from netbox.plugins import PluginConfig
__version__ = '0.1.3'
__version__ = '0.1.4'
class FloorPlannerConfig(PluginConfig):