From 978e9ef320c25cff002992c554f7044f19fc3848 Mon Sep 17 00:00:00 2001 From: Kevin Schiroo Date: Tue, 5 Sep 2017 06:31:06 -0500 Subject: [PATCH] django_filters -> filters in docs (#773) --- docs/guide/rest_framework.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/rest_framework.txt b/docs/guide/rest_framework.txt index 5494debf5..4eaf54c90 100644 --- a/docs/guide/rest_framework.txt +++ b/docs/guide/rest_framework.txt @@ -64,8 +64,8 @@ To enable filtering with a ``FilterSet``, add it to the ``filter_class`` paramet class ProductFilter(filters.FilterSet): - min_price = django_filters.NumberFilter(name="price", lookup_expr='gte') - max_price = django_filters.NumberFilter(name="price", lookup_expr='lte') + min_price = filters.NumberFilter(name="price", lookup_expr='gte') + max_price = filters.NumberFilter(name="price", lookup_expr='lte') class Meta: model = Product