I had a duplicate sqlite database. I tried deleting the duplicate but instead deleted both. Is there a way I can generate a new database? The data was not especially important.
2 Answers
Install django-extensions which can be used in order to reset the database.
then run
python manage.py reset_db
then
python manage.py migrate
1 Comment
aumo
There is no use for
reset_db as there is no database, python manage.py migrate is enough.
manage.py migrate?