From a4af8cc623d19e916bca97bb0f303becf7ba0f29 Mon Sep 17 00:00:00 2001 From: Joe Simpson Date: Wed, 19 Aug 2015 14:44:40 +0100 Subject: [PATCH] Add import to example for filtering `from rest_framework import filters` was missing from one of the examples --- docs/api-guide/filtering.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api-guide/filtering.md b/docs/api-guide/filtering.md index c1311c35e..e65c6bf4f 100644 --- a/docs/api-guide/filtering.md +++ b/docs/api-guide/filtering.md @@ -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):