Class formatting

This commit is contained in:
Luis San Pablo 2015-12-31 21:18:41 -06:00
parent ef491685a0
commit 183f8fad44

View File

@ -221,7 +221,6 @@ This is nice, but it exposes the Django's double underscore convention as part o
from rest_framework import filters from rest_framework import filters
from rest_framework import generics from rest_framework import generics
class ProductFilter(filters.FilterSet): class ProductFilter(filters.FilterSet):
manufacturer = django_filters.CharFilter(name="manufacturer__name") manufacturer = django_filters.CharFilter(name="manufacturer__name")