-
Notifications
You must be signed in to change notification settings - Fork 78
no such table
Mehdi Namaki edited this page Aug 24, 2020
·
2 revisions
If you encounter errors such as the following when running the program :
django.db.utils.OperationalError: no such table: content_blog
Just run the following commands again to create the required tables :
python manage.py makemigrations # Create migrations files
python manage.py migrate # Create database tables
python manage.py migrate --run-syncdb