Skip to content

Commit fd4a66c

Browse files
committed
Fix py3k compat with functools.reduce
1 parent dd51d36 commit fd4a66c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest_framework/filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
returned by list views.
44
"""
55
from __future__ import unicode_literals
6-
76
from django.db import models
87
from rest_framework.compat import django_filters
8+
from functools import reduce
99
import operator
1010

1111
FilterSet = django_filters and django_filters.FilterSet or None

0 commit comments

Comments
 (0)