如何强制向用户重新发送激活电子邮件?例如.当他意外删除邮件时,他点击我网站上的链接,django将向他发送新的激活电子邮件.最佳答案这样做有一个admin action.从django-registration docs开始:
How do I re-send an activation email?
Assuming you’re using the default backend,a custom admin action is provIDed for this; in the admin for the RegistrationProfile model,simply click the checkBox for the user(s) you’d like to re-send the email for,then select the “Re-send activation emails” action.
没有内置的自动方式(django-registration应该如何确定随机访问者是3天前填写注册表并删除了他的激活邮件的人?). 总结
以上是内存溢出为你收集整理的python – Django-registration – 一些激活全部内容,希望文章能够帮你解决python – Django-registration – 一些激活所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)