2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-09 21:30:54 +00:00

move import

This commit is contained in:
Matthias Mair
2023-02-13 20:13:13 +01:00
parent d71f356518
commit 329f336b57

View File

@@ -26,7 +26,6 @@ from maintenance_mode.core import (get_maintenance_mode, maintenance_mode_on,
from InvenTree.config import get_setting
from . import mixins
from .helpers import (IntegrationPluginError, get_entrypoints, get_plugins,
handle_error, log_error)
from .plugin import InvenTreePlugin
@@ -37,6 +36,7 @@ logger = logging.getLogger('inventree')
class PluginsRegistry:
"""The PluginsRegistry class."""
from . import mixins
DEFAULT_MIXIN_ORDER = [mixins.SettingsMixin, mixins.ScheduleMixin, mixins.AppMixin, mixins.UrlsMixin]
def __init__(self, mixin_order: list = None) -> None: