title: Can't set attrs in IntegerField() widget in model form
body: <p>I am trying to make a form in Django using model forms but i am facing a problem. Following is my code in forms.py which has an <code>IntegerField()</code>, I want to set a custom id and class for it but I'm not able to do so with the help of <code>attrs</code> in widget of <code>IntegerField()</code> whereas for <code>CharField()</code> it works. </p>
  
  <p><strong><code>forms.CharField(widget=forms.CharField(attrs={'id': 'customID'}))</code> works</strong> but </p>
  
  <p><strong><code>hours = forms.IntegerField(widget=forms.IntegerField(attrs={'id': 'blah', }))</code> doesn't</strong>.</p>
  
  <p><strong>forms.py</strong></p>
  
  <pre><code>class TimerForm(forms.ModelForm):        
      hours = forms.IntegerField(required=True, min_value=0, widget=forms.IntegerField(attrs={'id': 'blah', }))        
  
      class Meta:
          model = Timer
          fields = ['hours']
  </code></pre>
  
  <p><strong>Error in cmd:</strong></p>
  
  <blockquote>
    <p>super(IntegerField, self).<strong>init</strong>(*args, **kwargs)<br> TypeError:
    <strong>init</strong>() got an unexpected keyword argument 'attrs'</p>
  </blockquote>