2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

Import data fix (#6253)

* Use '--natural-foreign' when exporting dataset

- Uses "natural keys" (model names) instead of ContentType ID

* Update task options

- Change 'include_plugins' to 'exclude_plugins'
- Change 'delete_temp' to 'retain_temp'

* Split data import into two-step process

- First, import auth models
- Second, import data
- Ensures auth.user and auth.group are in place before users.owner is loaded

* Adjust temp file name

* Touch apps.py

- Just so the proper CI checks run
This commit is contained in:
Oliver
2024-01-16 21:32:51 +11:00
committed by GitHub
parent 829e01dd33
commit fa28697799
2 changed files with 70 additions and 18 deletions

View File

@ -1,4 +1,4 @@
"""AppConfig for inventree app."""
"""AppConfig for InvenTree app."""
import logging
from importlib import import_module