1👍
✅
If I messed things up or just want a clean state, I just erase the database with
$ echo "" > database.sqlite # database.sqlite is your database file
Then, just run normal commands:
$ python manage.py migrate
$ python manage.py createsuperuser
Source:stackexchange.com