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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -