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
What was written by the OP at password = forms.Charfield(widget=forms.PasswordInput) was correct. It just does not belong in the class Meta: section. Instead, it should be above it, indented one level below class UserForm....