Skip to content

Commit

Permalink
django_filters -> filters in docs (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjschiroo authored and Carlton Gibson committed Sep 5, 2017
1 parent 448fc30 commit 978e9ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/rest_framework.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 978e9ef

Please sign in to comment.