Django: relation “django_site” does not exist

前端 未结 10 1436
北荒
北荒 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 11:13

    I'm late, but I ran into the same issue with django v 1.11.

    The issue was that I was rebuilding a model outside the normal def() and in a form() [I use the models for a choice] The traceback should have the .py file listed

    e.g.

     File "filepath/views.py", line 67, in 
        some_variable = some_model.objects.get(name ='name')
    

    So I had to comment it out to rebuild my migrations

提交回复
热议问题