from django.template.response import TemplateResponse


class MyModelAdmin(admin.ModelAdmin):

    def admin_action(self, request, queryset):
        pass
Problem using Django admin Actions with intermediate pages