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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -