Django: OperationalError No Such Table

Use:

python manage.py migrate --run-syncdb 

As stated in this comment by Benyamin Jafari:

--run-syncdb – Creates tables for apps without migrations.

Also don’t forget to specity app path. For example:

python manage.py makemigrations app
python manage.py migrate app

Leave a Comment