“django.db.utils.ProgrammingError: relation ”app_user“ does not exist” during manage.py test

前端 未结 6 779
你的背包
你的背包 2020-12-10 15:02

My setup:

  • Django 1.8.3
  • Python 2.7.10
  • Ubuntu 14.04
  • django-two-factor-auth==1.2.0

I get the following error when I ru

6条回答
  •  -上瘾入骨i
    2020-12-10 15:21

    This should be solved by running:

    python manage.py migrate auth
    python manage.py migrate app
    python manage.py migrate
    

提交回复
热议问题