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():