Update filtering docs (#6467)

This commit is contained in:
Ryan P Kilby 2019-02-22 10:58:01 -08:00 committed by GitHub
parent d932baa646
commit 286cf57a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ Note that you can use both an overridden `.get_queryset()` and generic filtering
"""
model = Product
serializer_class = ProductSerializer
filter_class = ProductFilter
filterset_class = ProductFilter
def get_queryset(self):
user = self.request.user