Files
NetBox-Customer-Export/netbox_customer_export/urls.py
T
MrBlakeandClaude Opus 5.5 f24e42a516 feat: manage branding profiles in the NetBox UI
New BrandingProfile model (migration 0001) with logo upload, color
pickers, font, Word template upload, table style and extra CSS, plus
list/edit/delete views, an HTML preview and a menu entry with add
button. Access is controlled via the model's Django permissions.

Profiles from the database are offered first in the export form (the
default profile preselected); profiles from PLUGINS_CONFIG still work.

Bump version to 0.2.0 - requires "manage.py migrate".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 13:21:11 +02:00

14 lines
726 B
Python

from django.urls import path
from . import branding_views, views
urlpatterns = [
path("", views.ScopeSelectView.as_view(), name="select"),
path("export/<str:kind>/<int:pk>/", views.ExportView.as_view(), name="export"),
path("branding/", branding_views.BrandingListView.as_view(), name="branding_list"),
path("branding/add/", branding_views.BrandingEditView.as_view(), name="branding_add"),
path("branding/<int:pk>/", branding_views.BrandingEditView.as_view(), name="branding_edit"),
path("branding/<int:pk>/delete/", branding_views.BrandingDeleteView.as_view(), name="branding_delete"),
path("branding/<int:pk>/preview/", branding_views.BrandingPreviewView.as_view(), name="branding_preview"),
]