阅读背景:

Django-allauth将注册限制为电子邮件列表

来源:互联网 

I'm using Django-allauth, I have a list of emails and I want to restrict registration to this list. My idea was to check the signing up user email and, if not in the emails list, stop registration process and redirect. As suggested by Chetan Ganji I tried editing allauth.account.views.SignupView but it does not subscribe the form_valid method. How can i do that? Thank you for helpI'm using Django-allauth, I have a list of emai




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: