mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-29 13:04:03 +03:00
Class formatting
This commit is contained in:
parent
ef491685a0
commit
183f8fad44
|
@ -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 generics
|
||||
|
||||
|
||||
class ProductFilter(filters.FilterSet):
|
||||
manufacturer = django_filters.CharFilter(name="manufacturer__name")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user