-
Notifications
You must be signed in to change notification settings - Fork 1
database problems
srugano edited this page Jul 15, 2013
·
1 revision
I have been having some problems when I changed a certain model in the models.py file : by creating new models or updating new fields of the models presents there, i wasn't getting any update . Changes I was making didn't appear in the database.
Here is some workaround.
First, I made a certain schema of my db, with South:
python manage.py schemeamigration pingpong --initial
pingpong is my rapidsms application, I am implementing,and it is done for the first time. after you just have to do :
python manage.py schemeamigration pingpong --auto
And the after all :
python manage.py syncdb