mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-22 07:55:07 +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:
1 parent
a196f443a1
commit
99d122baa9
20 files changed
+343
-316
No files matched your search
@@ -15,7 +15,8 @@ from django.utils.translation import gettext_lazy as _
|
||||
|
||||
import part.models
|
||||
import stock.models
|
||||
from InvenTree.helpers import get_base_url, normalize, validateFilterString
|
||||
from InvenTree.helpers import normalize, validateFilterString
|
||||
from InvenTree.helpers_model import get_base_url
|
||||
from InvenTree.models import MetadataMixin
|
||||
from plugin.registry import registry
|
||||
|
||||
|
||||
Reference in new issue
Block a user