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