diff options
| author | Tom Christie | 2013-05-10 23:06:42 +0100 |
|---|---|---|
| committer | Tom Christie | 2013-05-10 23:06:42 +0100 |
| commit | fd4a66cfc7888775d20b18665d63156cf3dae13a (patch) | |
| tree | 5eccf7662eb8ea2c3c0a61fda10d112ea4570efb /rest_framework | |
| parent | dd51d369c8228f3add37cc639702097b0df9cd90 (diff) | |
| download | django-rest-framework-fd4a66cfc7888775d20b18665d63156cf3dae13a.tar.bz2 | |
Fix py3k compat with functools.reduce
Diffstat (limited to 'rest_framework')
| -rw-r--r-- | rest_framework/filters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/filters.py b/rest_framework/filters.py index 3edef30d..57f0f7c8 100644 --- a/rest_framework/filters.py +++ b/rest_framework/filters.py @@ -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 |
