i get this error in simple django programme run.. OperationalError at /admin/blog/post/ no such table: blog_post
django error OperationalError at /admin/blog/post/
15.5k Views Asked by Remaze Vs At
4
There are 4 best solutions below
1

if django version >=django 1.7
python manage.py makemigrations
python manage.py migrate
else
python manage.py schemamigrations
python manage.py migrate
so you need to migrate (map the model changes / new models into database tables) the changes so that your page works properly
You need to run migrations before you can do that operation. The necessary tables don't exist in your database (as described by the error).