code: def make_form_or_formset_fields_not_required(form_or_formset):
      
      if isinstance(form_or_formset, BaseFormSet):
          for single_form in form_or_formset:
              make_form_fields_not_required(single_form)
      else:
          make_form_fields_not_required(form_or_formset)
docs: Take a Form or FormSet and set all fields to not required.