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:
A horrible code lead to this error for me. I had a global variable to get the current site
SITE = Site.objects.get(pk=1)
this was evaluated during migration and lead to the error.