def auth(self):
    self.fields['username'] = forms.CharField(label='username')
    self.fields['password'] = forms.CharField(widget=forms.PasswordInput, label='password')
def auth(self):
    self.fields['username'] = forms.CharField(label='username')
    self.fields['password'] = forms.CharField(widget=forms.PasswordInput, label='password')