ProgrammingError: relation “django_session” does not exist error after installing Psycopg2

前端 未结 2 1991
终归单人心
终归单人心 2021-02-02 07:36

I started to develop a Django base web application. Everything were fine until I installed Psycopg2 for my database which I created in PstgreSql. Now w

2条回答
  •  面向向阳花
    2021-02-02 07:58

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

    python manage.py migrate sessions
    

提交回复
热议问题