1👍
✅
You have:
self.search_forms = search_formset(get_request or data)
This is unusual. It means that the formset is always bound.
Normally you would have
self.search_forms = search_formset(get_request or None)
Since you don not have required=False
, that means that you must provide the values for the orders
fields in the form data, otherwise you will get an error.
Source:stackexchange.com