'Adds a custom action form initialized with the available export
formats.'

def __init__(self, *args, **kwargs):

    choices = []
    formats = self.get_export_formats()
    if formats:
        choices.append(('', '---'))
        for (i, f) in enumerate(formats):
            choices.append((str(i), f().get_title()))
    self.action_form = export_action_form_factory(choices)
    super(ExportActionModelAdmin, self).__init__(*args, **kwargs)
