summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2014-01-28 21:08:29 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2014-01-28 21:08:37 +0200
commit0ca647357ecb0e3fe507d90a9518198751b2d408 (patch)
tree4002684da56f9e44188f78064ad791dd7f9b853b
parent5dc4a8652cd6e2a80fbedd8984f30c8fc482c3ea (diff)
Fixed #21883 -- Added six.moves.xrange import
When moving code around from sql.where to lookups six.moves.xrange import was forgotten. The xrange import is needed on Python 3.
-rw-r--r--django/db/models/lookups.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/models/lookups.py b/django/db/models/lookups.py
index ce6d157f82..993f5a92ca 100644
--- a/django/db/models/lookups.py
+++ b/django/db/models/lookups.py
@@ -5,6 +5,7 @@ import inspect
from django.conf import settings
from django.utils import timezone
from django.utils.functional import cached_property
+from django.utils.six.moves import xrange
class RegisterLookupMixin(object):