Django - DRF Advanced Features
Given the following FilterSet and queryset, what will be the result of filtering with
author='Alice'?
class BookFilter(FilterSet):
class Meta:
model = Book
fields = ['author']
books = Book.objects.all()
filtered_books = BookFilter({'author': 'Alice'}, queryset=books).qs