Returns a new SearchQuerySet object. Subclasses can override this method to easily customize the behavior of the Manager.
(self)
| 7 | self.using = using |
| 8 | |
| 9 | def get_search_queryset(self): |
| 10 | """Returns a new SearchQuerySet object. Subclasses can override this method |
| 11 | to easily customize the behavior of the Manager. |
| 12 | """ |
| 13 | return SearchQuerySet(using=self.using) |
| 14 | |
| 15 | def get_empty_query_set(self): |
| 16 | return EmptySearchQuerySet(using=self.using) |