I haven’t posted any django information in a while because I haven’t had any time to mess with it. Today, I dove back in.
I wanted to get a fresh start with the project I’m working on so I thought I’d clear out the database. Why for the life of me I couldn’t find the proper incantation to make this happen I’ll never know.
After searching for about 10 minutes I found it. I’m posting it here so I can reference it the next time I have a brain lapse.
Are you ready? Here it is…
manage.py flush
This will reset the database to the state immediately after it was created.