Searched refs:queryset (Results 1 – 6 of 6) sorted by relevance
/external/autotest/frontend/shared/ |
D | query_lib.py | 57 def apply_selector(self, queryset, selector_name, value, argument 63 return constraint.apply_constraint(queryset, value, comparison_type, 88 def apply_constraint(self, queryset, value, comparison_type, is_inverse): argument 111 def apply_constraint(self, queryset, value, comparison_type, is_inverse): argument 121 return queryset.exclude(**{kwarg_name: value}) 123 return queryset.filter(**{kwarg_name: value}) 133 def apply_constraint(self, queryset, value, comparison_type, is_inverse): argument 141 queryset = queryset.model.objects.join_custom_field(queryset, 149 queryset.model.objects.key_on_joined_table(related_query)) 151 queryset = queryset.model.objects.add_where(queryset, condition) [all …]
|
D | resource_lib.py | 382 queryset = None # or override _fresh_queryset() directly variable in Collection 407 assert self.queryset is not None 409 return self.queryset.all() 455 def _apply_form_query(self, queryset): argument 466 queryset = self._query_processor.apply_selector( 467 queryset, parameter, value, 469 return queryset 477 queryset = self._filtered_queryset() 482 page = queryset[start_index:(start_index + items_per_page)] 485 rep.update({'total_results': len(queryset),
|
/external/autotest/frontend/afe/ |
D | resources.py | 66 queryset = models.AtomicGroup.valid_objects.all() variable in AtomicGroupClassCollection 121 queryset = models.Label.valid_objects.all() variable in LabelCollection 169 queryset = models.User.objects.all() variable in UserCollection 212 queryset = models.AclGroup.objects.all() variable in AclCollection 332 queryset = models.Host.valid_objects.all() variable in HostCollection 416 queryset = models.Test.objects.all() variable in TestCollection 585 def apply_constraint(self, queryset, value, comparison_type, argument 595 return queryset.exclude( 598 return queryset.filter( 602 return queryset.exclude(hostqueueentry__complete=False) [all …]
|
D | admin.py | 52 def queryset(self, request): member in AtomicGroupAdmin 72 def queryset(self, request): member in LabelAdmin 201 def queryset(self, request): member in HostAdmin 285 def queryset(self, request): member in AclGroupAdmin
|
D | model_logic.py | 504 queryset = super(ValidObjectsManager, self).get_query_set() 505 return queryset.filter(invalid=False)
|
/external/autotest/frontend/tko/ |
D | resources.py | 45 queryset = models.Test.objects.order_by('-test_idx') variable in TestResultCollection
|