Formsets' add fields() method fails in some circumstances if the argument index is None. Description
Formsets' add fields() method fails in some circumstances if the argument index is None. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). Formsets' add fields() method fails in some circumstances if the argument index is None. When a FormSet has the attributes self.can delete ==…
The task
Formsets' add_fields() method fails in some circumstances if the argument index is None. When a FormSet has the attributes self.can_delete == True and self.can_delete_extra == False, calling the add_fields() method on that FormSet fails if the argument index is None. This occurs for example when calling…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.