Add order_by to the AutoFilterSet

`AutoFilterSet` should contains `order_by` set to all by default.
This commit is contained in:
Michał Ociepka 2013-09-10 12:02:14 +02:00
parent f5c34926d6
commit 222c1d1122

View File

@ -53,6 +53,7 @@ class DjangoFilterBackend(BaseFilterBackend):
class Meta: class Meta:
model = queryset.model model = queryset.model
fields = filter_fields fields = filter_fields
order_by = True
return AutoFilterSet return AutoFilterSet
return None return None