'Returns a Form class for use in the Formset on the changelist page.'

def get_changelist_form(self, request, **kwargs):

    defaults = {'formfield_callback': partial(self.formfield_for_dbfield, request=request)}
    defaults.update(kwargs)
    if ((defaults.get('fields') is None) and (not modelform_defines_fields(defaults.get('form')))):
        defaults['fields'] = forms.ALL_FIELDS
    return modelform_factory(self.model, **defaults)
