def get_slots_formset(self): from aristotle_mdr.contrib.slots.forms import slot_inlineformset_factory formset = slot_inlineformset_factory() formset.filtered_empty_form = formset.empty_form return formset
def get_slots_formset(self): from aristotle_mdr.contrib.slots.forms import slot_inlineformset_factory return slot_inlineformset_factory(model=self.model)
def get_slots_formset(self): from aristotle_mdr.contrib.slots.forms import slot_inlineformset_factory return slot_inlineformset_factory(model=self.model)