def get_queryset(self, *args, **kwargs): interval_id = self.request.POST.getlist('intervals_id[]') return get_queryset_or_none(IntervalSchedule, id__in=interval_id)
def get_queryset(self, *args, **kwargs): crons_id = self.request.POST.getlist('crons_id[]') return get_queryset_or_none(CrontabSchedule, id__in=crons_id)
def get_queryset(self, *args, **kwargs): assets_id = self.request.POST.getlist('assets_id[]') return get_queryset_or_none(AssetInfo, id__in=assets_id)
def get_queryset(self, *args, **kwargs): groups_id = self.request.POST.getlist('groups_id[]') return get_queryset_or_none(AssetGroup, id__in=groups_id)
def get_queryset(self, *args, **kwargs): jobs_id = self.request.POST.getlist('jobs_id[]') return get_queryset_or_none(JobInfo, id__in=jobs_id)
def get_queryset(self, *args, **kwargs): types_id = self.request.POST.getlist('types_id[]') return get_queryset_or_none(JobType, id__in=types_id)