Django: relation “django_site” does not exist

前端 未结 10 1369
北荒
北荒 2020-12-05 10:30

I am running a test django server on aws and I just installed django-userena and when I try to signup a user upon clicking submit, I get the following message:

10条回答
  •  离开以前
    2020-12-05 10:53

    I have the same problem and fixed it like this:

    1. add SITE_ID=1 into settings.py
    2. run this command :

      python manage.py migrate
      

提交回复
热议问题