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