django - heroku: relation "auth_group" does not exist -
i'm facing problem while doing syncdb on heroku. have custom user model , when try sync,heroku gives error.
django.db.utils.programmingerror: relation "auth_group" not exist
i tried python manage.py makemigrations nothing getting resolved. me find solution.
i had similar problem. seems auth module should first module migrate reason isn't happening.
all did solve was
./manage.py migrate auth
then
./manage.py migrate
Comments
Post a Comment