fixtures import script (windows)
This commit is contained in:
parent
b0c72bdc0a
commit
7ccdbc326a
11
scripts/fixtures.bat
Normal file
11
scripts/fixtures.bat
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
@echo off
|
||||||
|
venv\Scripts\activate
|
||||||
|
|
||||||
|
python manage.py migrate
|
||||||
|
|
||||||
|
python manage.py loaddata apps\fixtures\authentication\department.json
|
||||||
|
python manage.py loaddata apps\fixtures\authentication\defaultuser.json
|
||||||
|
|
||||||
|
python manage.py loaddata apps\fixtures\home\ticketpriority.json
|
||||||
|
python manage.py loaddata apps\fixtures\home\tickettag.json
|
||||||
|
python manage.py loaddata apps\fixtures\home\defaulttickets.json
|
Loading…
x
Reference in New Issue
Block a user