Add import to example for filtering

`from rest_framework import filters` was missing from one of the examples
This commit is contained in:
Joe Simpson 2015-08-19 14:44:40 +01:00
parent 7b0252a91c
commit a4af8cc623

View File

@ -163,6 +163,7 @@ For more advanced filtering requirements you can specify a `FilterSet` class tha
import django_filters
from myapp.models import Product
from myapp.serializers import ProductSerializer
from rest_framework import filters
from rest_framework import generics
class ProductFilter(django_filters.FilterSet):