mirror of
https://github.com/inventree/InvenTree.git
synced 2025-08-10 05:40:55 +00:00
reorder import
This commit is contained in:
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
from django.urls import include, re_path
|
from django.urls import include, re_path
|
||||||
|
|
||||||
from plugin import registry
|
|
||||||
|
|
||||||
PLUGIN_BASE = 'plugin' # Constant for links
|
PLUGIN_BASE = 'plugin' # Constant for links
|
||||||
|
|
||||||
|
|
||||||
def get_plugin_urls():
|
def get_plugin_urls():
|
||||||
"""Returns a urlpattern that can be integrated into the global urls."""
|
"""Returns a urlpattern that can be integrated into the global urls."""
|
||||||
|
from plugin import registry
|
||||||
|
|
||||||
urls = []
|
urls = []
|
||||||
|
|
||||||
for plugin in registry.plugins.values():
|
for plugin in registry.plugins.values():
|
||||||
|
Reference in New Issue
Block a user