Searched refs:queryset (Results 1 – 7 of 7) sorted by relevance
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | tablefilter.py | 36 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 134 'count': self.filter(queryset).count() 169 def filter(self, queryset): argument 192 return queryset.filter(self.criteria) [all …]
|
H A D | tables.py | 81 self.queryset = compatible_layers.order_by(self.default_orderby) 226 self.queryset = prj.get_all_compatible_machines() 227 self.queryset = self.queryset.order_by(self.default_orderby) 289 self.queryset = self.queryset.filter(layer_version__pk=int(kwargs['layerid'])) 290 self.queryset = self.queryset.order_by(self.default_orderby) 369 self.queryset = prj.get_all_compatible_recipes() 446 self.queryset = \ 449 self.queryset = self.queryset.order_by(self.default_orderby) 500 self.queryset = CustomImageRecipe.objects.filter(project=prj) 501 self.queryset = self.queryset.order_by(self.default_orderby) [all …]
|
H A D | widgets.py | 56 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 D | buildtables.py | 38 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 D | views.py | 308 def _get_search_results(search_term, queryset, model): argument 317 queryset = queryset.filter(search_object) 319 return queryset 338 def _get_queryset(model, queryset, filter_string, search_term, ordering_string, ordering_secondary=… argument 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() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/ |
H A D | models.py | 280 queryset = None 284 queryset = Layer_Version.objects.filter( 290 queryset = Layer_Version.objects.none() 292 return queryset 317 queryset = Machine.objects.filter( 320 return queryset 325 queryset = Machine.objects.filter( 328 return queryset 333 queryset = Distro.objects.filter( 336 return queryset [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templatetags/ |
H A D | projecttags.py | 35 def get_tasks(queryset): argument 37 for target, task in queryset.values_list('target', 'task'))
|