fixtures import script (windows)

This commit is contained in:
Corban-Lee Jones 2024-01-09 00:22:14 +00:00
parent b0c72bdc0a
commit 7ccdbc326a

11
scripts/fixtures.bat Normal file
View 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