mardi 12 janvier 2016

Django relation "auth_group" does not exist when running test

I'm upgrading my Django from version 1.7 to 1.9. I've completed it and everything is working as it should.

However, when I try to run:

./manage.py test

I get the following error:

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

I thought that this might be a migration error so I created a new empty database and ran:

./manage.py migrate

and everything worked correctly. I've tried with version 1.8 and 1.9 and still the same error. Does anyone have any experience with this error?

I've searched around and no-one else's issues are quite the same as mine as they all seem to involve some sort of custom auth but my project just uses the standard auth

Aucun commentaire:

Enregistrer un commentaire