Hi I am using the django model class with some field and a password field. Instead of displaying regular plain text I want to display password input. I created a model class
@DrTyrsa is correct. Don't forget your parentheses.
from django.forms import CharField, Form, PasswordInput class UserForm(Form): password = CharField(widget=PasswordInput())