django form password field is required code example
Example: django form password field
password = models.CharField(max_length=20, widget=forms.PasswordInput)
password = models.CharField(max_length=20, widget=forms.PasswordInput)