def construct_inlines(self):
inline_formsets = []<EOL>for inline_class in self.get_inlines():<EOL><INDENT>inline_instance = inline_class(self.model, self.request, self.object, self.kwargs, self)<EOL>inline_formset = inline_instance.construct_formset()<EOL>inline_formsets.append(inline_formset)<EOL><DEDENT>return inline_formsets<EOL>
Returns the inline formset instances