I would like to completely empty the entire database, restoring it to the way it was when I just created it, using Django’s manage.py. Possible?
I would like to completely empty the entire database, restoring it to the way
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you can do to flush the DB and not have any migrate(south) problem afterwards is:
first, reset the data from the DB:
second, fake the migrations that are already applied:
third, if you have some fixture to load: