summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
diff options
context:
space:
mode:
authorJustin Bronn <jbronn@gmail.com>2010-02-23 05:22:12 +0000
committerJustin Bronn <jbronn@gmail.com>2010-02-23 05:22:12 +0000
commitc4699b0b8a8503e552de1fe4f873685f7037b337 (patch)
tree63065345b6d2c3f170cbbdf5f9451f0cc2ede1db /django/db/models/sql/query.py
parent349827996b5bcf29886bd1e57bc07147d840229e (diff)
Fixed #12806 -- Added an implementation of `RawQuerySet.__getitem__`. Thanks, Bruno ReniƩ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/sql/query.py')
-rw-r--r--django/db/models/sql/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py
index 2d3f6109a0..7b1695e051 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -54,7 +54,7 @@ class RawQuery(object):
def __iter__(self):
# Always execute a new query for a new iterator.
- # This could be optomized with a cache at the expense of RAM.
+ # This could be optimized with a cache at the expense of RAM.
self._execute_query()
return iter(self.cursor)