Are there django commands that
A. Delete all tables B. delete all data in all tables C. Create all tables as defined in the model?
A. Delete all tables
B. delete all data in all tables
C. Create all tables as defined in the model?
And a simpler oneliner to drop all the tables for django 1.5+:
python2 manage.py sqlflush | sed 's/TRUNCATE/DROP TABLE/g'| python2 manage.py dbshell