-
Notifications
You must be signed in to change notification settings - Fork 0
/
create_fixture.sh
executable file
·14 lines (14 loc) · 1.25 KB
/
create_fixture.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mkdir prisoners/fixtures/ | true
./manage.py dumpdata prisoners --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output prisoners/fixtures/prisoners.json
mkdir prisons/fixtures/ | true
./manage.py dumpdata prisons --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output prisons/fixtures/prisons.json
mkdir core_types/fixtures/ | true
./manage.py dumpdata core_types --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output core_types/fixtures/core_types.json
mkdir api/fixtures/ | true
./manage.py dumpdata api --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output api/fixtures/api.json
mkdir judges/fixtures/ | true
./manage.py dumpdata judges --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output judges/fixtures/judges.json
mkdir public/fixtures/ | true
./manage.py dumpdata public --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output public/fixtures/public.json
mkdir report/fixtures/ | true
./manage.py dumpdata report --indent=4 --natural-foreign -e sessions -e admin -e contenttypes -e auth.Permission --output report/fixtures/report.json