[Django]-ProgrammingError: relation "django_session" does not exist error after installing Psycopg2

64👍

If you change the database, you should create database for the new database.

Use manage.py migrate command. (or manage.py syncdb if you used it for old database).

20👍

You can alternatively migrate just the sessions app if you have already run migrate and still getting the error

python manage.py migrate sessions

Leave a comment