docs: def get_collection(self, request, **resources):
          """ Get filters and return filtered result.
  
          :return collection: collection of related resources.
  
          """
          if self._meta.queryset is None:
              return []
  
          # Filter collection
          filters = self.get_filters(request, **resources)
          filters.update(self.get_default_filters(**resources))
          qs = self._meta.queryset
          for key, (value, exclude) in filters.items():
              try:
                  if exclude:
                      qs = qs.exclude(**{key: value})
  
                  else:
                      qs = qs.filter(**{key: value})
              except FieldError, e:
                  logger.warning(e)
  
          sorting = self.get_sorting(request, **resources)
          if sorting:
              qs = qs.order_by(*sorting)
  
          return qs