Update the reset db script to seed profile also.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 17 Jan 2011 05:32:59 +0530
changeset 441 10f16121a46b
parent 440 56ea209e559f
child 442 7e6da295b90a
Update the reset db script to seed profile also.
profile_fixture.json
scripts/reset_db.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/profile_fixture.json	Mon Jan 17 05:32:59 2011 +0530
@@ -0,0 +1,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
--- a/scripts/reset_db.sh	Mon Jan 17 04:37:07 2011 +0530
+++ b/scripts/reset_db.sh	Mon Jan 17 05:32:59 2011 +0530
@@ -10,4 +10,4 @@
 ./bin/django migrate profile
 ./bin/django migrate taskapp
 ./bin/django loaddata sites_fixture.json 
-
+./bin/django loaddata profile_fixture.json