Django: I get a [relation “auth_group” does not exist] error after syncdb

前端 未结 7 537
粉色の甜心
粉色の甜心 2021-01-04 22:33

I started a new Django 1.8 project and realized that I missed something (i had done the initial migrations). I dropped the database (postgreSQL) and deleted migration<

7条回答
  •  迷失自我
    2021-01-04 23:13

    Probably you should try to create migrations modules (folders named migrations with empty file named __init__.py inside of each directory) for your apps. And then run manage.py makemigrations again.

提交回复
热议问题