Home
last modified time | relevance | path

Searched refs:queryset (Results 1 – 7 of 7) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/
H A Dtablefilter.py36 def to_json(self, queryset): argument
50 'count' : queryset.count()
56 obj = filter_action.to_json(queryset)
123 def filter(self, queryset): argument
125 return queryset.filter(self.criteria)
127 return queryset
129 def to_json(self, queryset): argument
169 def filter(self, queryset): argument
192 return queryset.filter(self.criteria)
242 def to_json(self, queryset): argument
[all …]
H A Dtables.py565 self.queryset = self.queryset.filter(
603 self.queryset = self.queryset.filter(is_image=True)
712 self.queryset = self.queryset.order_by('name')
779 self.queryset = self.queryset.order_by('name')
865 queryset = queryset.filter(Q(is_default=False) |
869 queryset = queryset.order_by(self.default_orderby)
871 self.queryset = queryset
1108 queryset = queryset.order_by(self.default_orderby)
1115 queryset = queryset.annotate(
1125 queryset = queryset.annotate(
[all …]
H A Dwidgets.py56 self.queryset = None
117 return json.dumps(table_filter.to_json(self.queryset),
233 self.queryset = action.filter(self.queryset)
240 self.queryset = self.queryset.order_by(orderby)
245 if not hasattr(self.queryset.model, 'search_allowed_fields'):
247 % self.queryset.model)
252 for field in self.queryset.model.search_allowed_fields:
264 self.queryset = self.queryset.filter(search_queries)
318 paginator = Paginator(self.queryset, limit)
326 'total': self.queryset.count(),
H A Dbuildtables.py38 self.queryset = build.package_set.all().exclude(recipe=None)
39 self.queryset = self.queryset.order_by(self.default_orderby)
201 self.queryset = self.make_package_list(target)
202 self.queryset = self.queryset.order_by(self.default_orderby)
242 self.queryset = build.get_recipes()
243 self.queryset = self.queryset.order_by(self.default_orderby)
387 self.queryset = build.task_build.filter(~Q(order=None))
388 self.queryset = self.queryset.order_by(self.default_orderby)
H A Dviews.py317 queryset = queryset.filter(search_object)
319 return queryset
341 queryset = queryset.filter(filter_query)
343 queryset = queryset.all()
346 queryset = _get_search_results(search_term, queryset, model)
355 queryset = queryset.order_by(column, ordering_secondary)
357 queryset = queryset.order_by(column)
360 return queryset.distinct()
654 package_count = queryset.count()
655 queryset = _get_queryset(Package, queryset, filter_string, search_term, ordering_string, 'name')
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/
H A Dmodels.py280 queryset = None
292 return queryset
320 return queryset
328 return queryset
333 queryset = Distro.objects.filter(
336 return queryset
341 queryset = Distro.objects.filter(
344 return queryset
352 return queryset
360 return queryset
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/
H A Dprojecttags.py35 def get_tasks(queryset): argument
37 for target, task in queryset.values_list('target', 'task'))