📜  django 电子邮件验证 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:55.500000             🧑  作者: Mango

代码示例1
I figured out a solution , but for the second requirement user has to input the password at the time of account creation . The main goal was to verify the user supplied email.

Models
class Yourmodel(models.Model):
    first_name = models.CharField(max_length=200)
    second_name = models.CharField(max_length=200)
    email = models.EmailField(max_length=100)