Returns a queryset that never returns any objects and no query will be executed when accessing the results inspired by django none() https://docs.djangoproject.com/en/dev/ref/models/querysets/#none
(self)
| 789 | return doc_map |
| 790 | |
| 791 | def none(self): |
| 792 | """Returns a queryset that never returns any objects and no query will be executed when accessing the results |
| 793 | inspired by django none() https://docs.djangoproject.com/en/dev/ref/models/querysets/#none |
| 794 | """ |
| 795 | queryset = self.clone() |
| 796 | queryset._none = True |
| 797 | return queryset |
| 798 | |
| 799 | def no_sub_classes(self): |
| 800 | """Filter for only the instances of this specific document. |