From ac20cec998d489d8cbce30e9be1e0b1b6cdaf170 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 13 Feb 2023 20:50:30 +0100 Subject: [PATCH] reorder import --- InvenTree/plugin/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugin/urls.py b/InvenTree/plugin/urls.py index 6da54a83ee..ece2691e61 100644 --- a/InvenTree/plugin/urls.py +++ b/InvenTree/plugin/urls.py @@ -2,13 +2,13 @@ from django.urls import include, re_path -from plugin import registry - PLUGIN_BASE = 'plugin' # Constant for links def get_plugin_urls(): """Returns a urlpattern that can be integrated into the global urls.""" + from plugin import registry + urls = [] for plugin in registry.plugins.values():