示例#1
0
 def get_queryset(self, *args, **kwargs):
     interval_id = self.request.POST.getlist('intervals_id[]')
     return get_queryset_or_none(IntervalSchedule, id__in=interval_id)
示例#2
0
 def get_queryset(self, *args, **kwargs):
     crons_id = self.request.POST.getlist('crons_id[]')
     return get_queryset_or_none(CrontabSchedule, id__in=crons_id)
示例#3
0
 def get_queryset(self, *args, **kwargs):
     assets_id = self.request.POST.getlist('assets_id[]')
     return get_queryset_or_none(AssetInfo, id__in=assets_id)
示例#4
0
 def get_queryset(self, *args, **kwargs):
     groups_id = self.request.POST.getlist('groups_id[]')
     return get_queryset_or_none(AssetGroup, id__in=groups_id)
示例#5
0
 def get_queryset(self, *args, **kwargs):
     jobs_id = self.request.POST.getlist('jobs_id[]')
     return get_queryset_or_none(JobInfo, id__in=jobs_id)
示例#6
0
 def get_queryset(self, *args, **kwargs):
     types_id = self.request.POST.getlist('types_id[]')
     return get_queryset_or_none(JobType, id__in=types_id)