reorder import

This commit is contained in:
Matthias Mair 2023-02-13 20:50:30 +01:00
parent b01d54b586
commit ac20cec998
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

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