Closed quroom closed 2 years ago
I got it.
I didn't migrate rollback to zero.
That's why it reproduce error.
And I checked wrong database. So I coudn't find table.
What I did is, first python manage.py migrate registration zero.
But I got IrreversibleError migrate 0003 to 0002. I read 0003 migration file but it just change some flag to true.
I guess It is everything. So I just migrate 0002 --fake
And now I did migrate zero
It looks working fine.
And finally we need to remove permission list for admin page.
Just do Permission.objects.filter(name__icontains="registration").delete()
in your django shell.
What do you think my rollback flow? Is there any problem in the future? Please give me advice. I just test it in my local But I need to apply to my realtime product server.
I just leave issue as closed. Because some people might face same situation.
I changed few times registration framework from django-registration -> django-registration-redux -> django-allauth.
Now I am using django-allauth But I get error like this.. It has some problems related to registration profile table. But I can't see that table in database table. How can I delete user?