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

前端 未结 7 538
粉色の甜心
粉色の甜心 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:23

    The problem is on no changes detected. Please execute these commands with your app name. I guess you didn't add it (just like the mistake I did):

    1. python manage.py makemigrations myappname
    2. python manage.py migrate myappname

提交回复
热议问题