Exemplo n.º 1
0
    def get_queryset(self):
        queryset = Collection.get_base_queryset(
            compact_dict_by_values(self.get_filter_params())).select_related(
                'user', 'organization')

        if self.is_verbose():
            queryset = queryset.select_related('created_by', 'updated_by')

        return queryset
Exemplo n.º 2
0
 def get_queryset(self):
     return Collection.get_base_queryset(
         compact_dict_by_values(self.get_filter_params()))