def METHOD_NAME(self, request, *args, **kwargs):
    self.object = self.get_object()
    method = request.POST.get('method')
    if method in ['upload_file', 'import_file', 'import_project']:
        return getattr(self, method)()
    else:
        return self.get_import_plugin(self.kwargs.get('format'), self.object).submit()