OperationalError: no such table

The fix for me was to run

python manage.py makemigrations app_name

instead of

python manage.py makemigrations

See this related answer: https://stackoverflow.com/a/25843194/2893090


So the fastest way to fix this issue was to just copy everything over into a new project(could probably just remove selected parts and re-add them)

Then just made the app again, copied the settings and models over. Ran makemigrations then migrate. Then I could just simply copy over the views, urls, and everything else.

What went wrong? Maybe something happened to the migrations, and doing the migrations from scratch again helped solve the problem.