title: customize the way usercreationform looks in django
body: <p>I want to customize the UserCreationForm from django. I do the following</p>
  
  <pre><code>class myUserCreationForm(UserCreationForm):
  
  
      class Meta:
          model=User
          fields = ('username', 'password1', 'password2')
          widgets = {
              'username':TextInput(attrs={'class':'form-control'}),
              'password':TextInput(attrs={'class':'form-control'}),
              'password2':TextInput(attrs={'class':'form-control'}),
  }
  </code></pre>
  
  <p>but its not working. When the template is rendered It creates the input boxes don't have the form-control class attached to them. What could be wrong?</p>