mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
move import
This commit is contained in:
parent
1098327ba9
commit
887609cf2a
@ -14,7 +14,6 @@ from django.db import transaction
|
||||
from django.db.models.signals import post_save, post_delete
|
||||
from django.dispatch.dispatcher import receiver
|
||||
|
||||
from common.models import InvenTreeSetting
|
||||
import common.notifications
|
||||
|
||||
from InvenTree.ready import canAppAccessDatabase, isImportingData
|
||||
@ -59,6 +58,7 @@ def register_event(event, *args, **kwargs):
|
||||
Note: This function is processed by the background worker,
|
||||
as it performs multiple database access operations.
|
||||
"""
|
||||
from common.models import InvenTreeSetting
|
||||
|
||||
logger.debug(f"Registering triggered event: '{event}'")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user