【发布时间】:2015-07-26 22:34:12
【问题描述】:
我在 heroku 上执行 syncdb 时遇到问题。 我有一个自定义用户模型,当我尝试同步时,heroku 给出了这个错误。
django.db.utils.ProgrammingError: relation "auth_group" does not exist
我尝试了 python manage.py makemigrations 但没有得到解决。 帮我找到解决办法。
【问题讨论】:
-
这个解决方案对我有用:stackoverflow.com/questions/30438332/…
标签: django postgresql heroku syncdb django-custom-user