mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	move import
This commit is contained in:
		| @@ -26,7 +26,6 @@ from maintenance_mode.core import (get_maintenance_mode, maintenance_mode_on, | |||||||
|  |  | ||||||
| from InvenTree.config import get_setting | from InvenTree.config import get_setting | ||||||
|  |  | ||||||
| from . import mixins |  | ||||||
| from .helpers import (IntegrationPluginError, get_entrypoints, get_plugins, | from .helpers import (IntegrationPluginError, get_entrypoints, get_plugins, | ||||||
|                       handle_error, log_error) |                       handle_error, log_error) | ||||||
| from .plugin import InvenTreePlugin | from .plugin import InvenTreePlugin | ||||||
| @@ -37,6 +36,7 @@ logger = logging.getLogger('inventree') | |||||||
| class PluginsRegistry: | class PluginsRegistry: | ||||||
|     """The PluginsRegistry class.""" |     """The PluginsRegistry class.""" | ||||||
|  |  | ||||||
|  |     from . import mixins | ||||||
|     DEFAULT_MIXIN_ORDER = [mixins.SettingsMixin, mixins.ScheduleMixin, mixins.AppMixin, mixins.UrlsMixin] |     DEFAULT_MIXIN_ORDER = [mixins.SettingsMixin, mixins.ScheduleMixin, mixins.AppMixin, mixins.UrlsMixin] | ||||||
|  |  | ||||||
|     def __init__(self, mixin_order: list = None) -> None: |     def __init__(self, mixin_order: list = None) -> None: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user