mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
reorder import
This commit is contained in:
parent
b01d54b586
commit
ac20cec998
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user