What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-11 09:57:13
delete and start fresh with db django
Delete the sqlite database file (often db.sqlite3) in your django project folder (or wherever you placed it) Delete everything except __init__.py file from migration folder in all django apps Make changes in your models (models.py). Run the command python... Add solution