From 7ccdbc326aba951d12c54b43d643fea17b4c795e Mon Sep 17 00:00:00 2001 From: corbz Date: Tue, 9 Jan 2024 00:22:14 +0000 Subject: [PATCH] fixtures import script (windows) --- scripts/fixtures.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 scripts/fixtures.bat diff --git a/scripts/fixtures.bat b/scripts/fixtures.bat new file mode 100644 index 0000000..26d1013 --- /dev/null +++ b/scripts/fixtures.bat @@ -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