Actually i new to django framework. Here my doubt is, can we create two password fields for password validation one is password and second is confirm password for user registration template or can we manage only one password field. Let anyone please give the clarification for that.
Here is example model:
class new_user(models.Model):
name = models.CharField()
email = models.EmailField()
password = models.CharField()
confirmpassword = models.CharField()
or else can we manage only one password field like below :
class new_user(models.Model):
name = models.CharField()
email = models.EmailField()
password = models.CharField()