from django.forms import ModelForm, PasswordInput


class TwitterUserForm(ModelForm):
    password = forms.CharField(widget=PasswordInput())


class Meta:
    model = TwitterUser
Making a CharField use a PasswordInput in the admin