summaryrefslogtreecommitdiff
path: root/django/db/models/sql
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-07-20 18:53:11 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-07-22 09:29:56 +0200
commita84d79f572fbe7512b999c6b3cd7667cbe3138ff (patch)
tree7d17f74640d7d0437c7cd87816b29bcd0cdb2ca7 /django/db/models/sql
parentca07fda2efea24cb43423b884fa4648d44e52963 (diff)
[py3] Added Python 3 compatibility for xrange.
Diffstat (limited to 'django/db/models/sql')
-rw-r--r--django/db/models/sql/where.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py
index 2602c3066c..47f4ffaba9 100644
--- a/django/db/models/sql/where.py
+++ b/django/db/models/sql/where.py
@@ -12,6 +12,7 @@ from django.utils import tree
from django.db.models.fields import Field
from django.db.models.sql.datastructures import EmptyResultSet
from django.db.models.sql.aggregates import Aggregate
+from django.utils.six.moves import xrange
# Connection types
AND = 'AND'