From d443e03915401011b26e134c8a383985ddccd80e Mon Sep 17 00:00:00 2001 From: Kevin Schiroo Date: Tue, 5 Sep 2017 06:18:18 -0500 Subject: [PATCH] django_filters -> filters in docs --- 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