Fix CSRF failure when saving layout; rename plugin to NetBox-Floorplaner

Read the CSRF token from a rendered {% csrf_token %} instead of the
cookie, which may be HttpOnly or use a custom name. Set the plugin
author to Claude and bump the version to 0.1.1 (busts static cache).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-11-04 12:47:34 +01:00
1 parent b8f2e5155e
commit 6b47b0fd5b
4 files changed
+13 -9

No files matched your search

+3 -3
View File
@@ -1,15 +1,15 @@
from django.utils.translation import gettext_lazy as _
from netbox.plugins import PluginConfig
__version__ = '0.1.0'
__version__ = '0.1.1'
class FloorPlannerConfig(PluginConfig):
name = 'netbox_floorplanner'
verbose_name = _('Floor Planner')
verbose_name = 'NetBox-Floorplaner'
description = _('Drag & drop floor plan designer for sites and locations')
version = __version__
author = 'Louis'
author = 'Claude'
base_url = 'floorplanner'
min_version = '4.7.2'
default_settings = {