Thursday, July 16, 2009

Django syncdb and create/drop

Django's manage.py syncdb command doesn't drop/create. It is clearly stated in the documentation. Naturally it took me a while to figure that out.

There is an easy solution :


python ./Documents/DjangoWorkspace/cms/manage.py reset coltrane
I've used it a few times now.


No comments: