mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-10 09:00:57 +00:00
Refactor model helpers into own file (#4927)
* Refactor model helpers into own file to allow helper import when apps not loaded yet * Import helper functions at module level * Added missing imports where vscode couldnt help because its no explicit import
This commit is contained in:
@@ -11,7 +11,7 @@ from django.utils import timezone
|
||||
|
||||
import feedparser
|
||||
|
||||
from InvenTree.helpers import getModelsWithMixin
|
||||
from InvenTree.helpers_model import getModelsWithMixin
|
||||
from InvenTree.models import InvenTreeNotesMixin
|
||||
from InvenTree.tasks import ScheduledTask, scheduled_task
|
||||
|
||||
|
||||
Reference in New Issue
Block a user