Commit fd4a66cf by Tom Christie

Fix py3k compat with functools.reduce

parent dd51d369
......@@ -3,9 +3,9 @@ Provides generic filtering backends that can be used to filter the results
returned by list views.
"""
from __future__ import unicode_literals
from django.db import models
from rest_framework.compat import django_filters
from functools import reduce
import operator
FilterSet = django_filters and django_filters.FilterSet or None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment