summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--profile_fixture.json1
-rwxr-xr-xscripts/reset_db.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/profile_fixture.json b/profile_fixture.json
new file mode 100644
index 0000000..5f80943
--- /dev/null
+++ b/profile_fixture.json
@@ -0,0 +1 @@
+[{"pk": 1, "model": "profile.profile", "fields": {"dob": "1987-05-22", "gender": "Male", "aboutme": "", "address": "sdsadad", "phonenum": "", "role": "Administrator", "user": 1, "full_name": "vdvdvdvdv", "pynts": 0}}] \ No newline at end of file
diff --git a/scripts/reset_db.sh b/scripts/reset_db.sh
index 057cf92..51568ca 100755
--- a/scripts/reset_db.sh
+++ b/scripts/reset_db.sh
@@ -10,4 +10,4 @@ rm -r pytask/taskapp/migrations/
./bin/django migrate profile
./bin/django migrate taskapp
./bin/django loaddata sites_fixture.json
-
+./bin/django loaddata profile_fixture.json