$python manage.py flush
This will update the database tables for your app, but will completely destroy any data that existed in those tables.
If the changes you made to your app model do not break your old schema (for instance, you added a new, optional field)
you can simply dump the data before and reload it afterwards, like so:
$python manage.py flush
This will update the database tables for your app, but will completely destroy any data that existed in those tables.
If the changes you made to your app model do not break your old schema (for instance, you added a new, optional field)
you can simply dump the data before and reload it afterwards, like so: