From a385658f249f8859f2671ff4bd5ca9723fe153d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?aron=20bergur=20j=C3=B3hannsson?= Date: Wed, 8 Mar 2023 11:19:58 +0000 Subject: [PATCH] change render markdown view path --- netbox/extras/urls.py | 2 +- netbox/utilities/templates/widgets/markdown_input.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/extras/urls.py b/netbox/extras/urls.py index b6ff22a62..010f6d076 100644 --- a/netbox/extras/urls.py +++ b/netbox/extras/urls.py @@ -93,5 +93,5 @@ urlpatterns = [ re_path(r'^scripts/(?P.([^.]+)).(?P.(.+))/', views.ScriptView.as_view(), name='script'), # Markdown - path('markdown/', views.MarkdownRenderView.as_view(), name="markdown_render") + path('render/markdown/', views.MarkdownRenderView.as_view(), name="render_markdown") ] diff --git a/netbox/utilities/templates/widgets/markdown_input.html b/netbox/utilities/templates/widgets/markdown_input.html index f3bbc0609..2c71ed289 100644 --- a/netbox/utilities/templates/widgets/markdown_input.html +++ b/netbox/utilities/templates/widgets/markdown_input.html @@ -6,7 +6,7 @@