run_once
This commit is contained in:
parent
bea318dc53
commit
c114f2ccf4
|
@ -229,7 +229,7 @@ class PTaskResultViewSet(ListModelMixin, RetrieveModelMixin, CustomGenericViewSe
|
|||
任务执行结果详情
|
||||
"""
|
||||
perms_map = {'get': '*'}
|
||||
filterset_fields = ['task_name']
|
||||
filterset_fields = ['task_name', 'periodic_task_name', 'status']
|
||||
queryset = TaskResult.objects.all()
|
||||
serializer_class = PTaskResultSerializer
|
||||
ordering = ['-date_created']
|
||||
|
|
Loading…
Reference in New Issue