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


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 folders from all my apps in order to start from scratch.

Now, when I 'syncdb' I get this error:

django.db.utils.ProgrammingError: relation "auth_group" does not exist

and when I makemigrations I get this:

No changes detected

What am I doing wrong?

Best Solution

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

Related Question