title: 'BooleanField' object has no attribute 'attrs'
body: <p>I am getting the error 'BooleanField' object has no attribute 'attrs'
  I am creating a form to create a new user and save the details in the database</p>
  
  <p>searched for a while but no luck
  Add user source code
      <code>enter code here</code></p>
  
  <pre><code>class AddUser(forms.ModelForm):
  password=forms.CharField(widget= forms.PasswordInput)
  date_of_join=forms.DateField(widget=forms.SelectDateWidget)
  superuser=forms.BooleanField(widget=forms.BooleanField)
  class Meta:
      model=User_list
        fields=['first_name','last_name','email','password','date_of_join','superuser'  ]
  {% for field in form %}
  &lt;div class="form-group"&gt;
      &lt;div class="col-sm-offset-2 col-sm-10"&gt;
          &lt;span class="text-danger small"&gt;{{field.errors}} &lt;/span&gt;
      &lt;/div&gt;
      &lt;label class="control-label col-sm-2"&gt;{{ field.label_tag }}      &lt;/label&gt;
      &lt;div class="col-sm-10"&gt;{{field}}&lt;/div&gt;
  &lt;/div&gt;
  {% endfor %}
  </code></pre>
  
  <p><code>field.label_tag</code> shows error for boolean field</p>
  
  <p>error is this</p>
  
  <pre><code> id_ = widget.attrs.get('id') or self.auto_id
  AttributeError: 'BooleanField' object has no attribute 'attrs'
  </code></pre>
  
  <p>The view:</p>
  
  <pre><code>class createuser(View):
      form_class=AddUser
      template_name='Account/userlist_form.html'
  
      def get(self,request):
          form=self.form_class(None)
          return render(request,self.template_name,{'form':form})
  
      def post(self,request):
          form=self.form_class(request.POST)
          if form.is_valid():
              user=form.save(commit=False)
              user.save()
          return render(request,self.template_name,{'form':form})
  </code></pre>
  
  <p>and my form:</p>
  
  <pre><code>class AddUser(forms.ModelForm):
      password=forms.CharField(widget= forms.PasswordInput)
      date_of_join=forms.DateField(widget=forms.SelectDateWidget)
      superuser=forms.BooleanField(widget=forms.BooleanField)
  
      class Meta:
          model=User_list
          fields=['first_name','last_name','email','password','date_of_join','superuser']
  </code></pre>