Relation does not exist error in Django

前端 未结 2 521
旧巷少年郎
旧巷少年郎 2021-01-17 11:32

I know there are many questions about this problem, I looked through the solutions and unfortunately none of them worked for me.

I created a new app called \"userma

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-17 12:02

    Simply delete the database from pgAdmin = first disconnect the database then drop it.. Then create the database again with same name as previous..The delete the all files in migration.. Then run all the migration command then runserver.. Your code is debug enjoy :)

提交回复
热议问题