Skip to content

Commit 6831472

Browse files
committed
Remove ambiguous reference to former DjangoFilterBackend.
1 parent 703655b commit 6831472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/filtering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ If all you need is simple equality-based filtering, you can set a `filter_fields
165165
class ProductList(generics.ListAPIView):
166166
queryset = Product.objects.all()
167167
serializer_class = ProductSerializer
168-
filter_backends = (filters.DjangoFilterBackend,)
168+
filter_backends = (DjangoFilterBackend,)
169169
filter_fields = ('category', 'in_stock')
170170

171171
This will automatically create a `FilterSet` class for the given fields, and will allow you to make requests such as:

0 commit comments

Comments
 (0)