Lines Matching refs:queryset
57 def apply_selector(self, queryset, selector_name, value,
63 return constraint.apply_constraint(queryset, value, comparison_type,
88 def apply_constraint(self, queryset, value, comparison_type, is_inverse):
111 def apply_constraint(self, queryset, value, comparison_type, is_inverse):
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):
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)
153 return queryset
164 def apply_constraint(self, queryset, value, comparison_type, is_inverse):
176 queryset = queryset.model.objects.join_custom_field(queryset,
184 queryset.model.objects.key_on_joined_table(related_query))
186 queryset = queryset.model.objects.add_where(queryset, condition)
188 return queryset