def get_formset(self, form, name):
kwargs = self.get_kwargs(form, name)<EOL>formset_class = self.get_formset_class(form, name)<EOL>formset = formset_class(<EOL>form.data if form.is_bound else None,<EOL>form.files if form.is_bound else None,<EOL>**kwargs)<EOL>return formset<EOL>
Get an instance of the formset.