title: How to remove Required Attribute From Django Form
body: <p>I want to remove required attribute from HTML Form. And it should give error from server side that this field is required. Previously i was using required <code>self.fields['group_name'].required=False</code>. But it is not giving error for blank or null data. Then i came to know <code>use_required_attribute</code>, but i don't know about it and how to use it.</p>
  
  <pre><code>class GroupForm(forms.ModelForm):
      use_required_attribute = False
      class Meta:
          model = Groups
          fields = ['group_name', 'group_description', 'group_status']
  
      def __init__(self, *args, **kwargs):
          super().__init__(*args, **kwargs)
  </code></pre>