From c78980771d75e774cec94772902dc13e1027b3a7 Mon Sep 17 00:00:00 2001 From: Tom Linford Date: Wed, 16 Dec 2015 15:36:07 -0800 Subject: [PATCH] AutoFilterSet should subclass from self.default_filter_set --- rest_framework/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework/filters.py b/rest_framework/filters.py index ff541ba1e..42e77d910 100644 --- a/rest_framework/filters.py +++ b/rest_framework/filters.py @@ -99,7 +99,7 @@ class DjangoFilterBackend(BaseFilterBackend): return filter_class if filter_fields: - class AutoFilterSet(FilterSet): + class AutoFilterSet(self.default_filter_set): class Meta: model = queryset.model fields = filter_fields