def action_form_view(self, request):
dotted_path = request.GET.get('class')
cls = ScheduledAction.get_class(dotted_path)
if not cls:
log.error('scheduled_action_form request for %r which is not a schedulable action', dotted_path)
return HttpResponseBadRequest()
return HttpResponse(cls.Form().as_table())
评论列表
文章目录