summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2009-12-24 05:35:43 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2009-12-24 05:35:43 +0000
commitefbace6b7e0ae2f3c9cc7d04d0d7a18568d26222 (patch)
treeb3782a678567dab67980dce54a284a8bf66beac5 /django/db/models/sql/query.py
parentc8f22aef237b800b73c1d4ff31bdd95feaa496eb (diff)
Fixed #12433 -- Corrected a typo in the text of the exception raised by RawQuery. Thanks to bjunix for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11973 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 01706407af..88b3571931 100644
--- a/django/db/models/sql/query.py
+++ b/django/db/models/sql/query.py
@@ -49,7 +49,7 @@ class RawQuery(object):
def validate_sql(self, sql):
if not sql.lower().strip().startswith('select'):
raise InvalidQuery('Raw queries are limited to SELECT queries. Use '
- 'connection.cursor directly for types of queries.')
+ 'connection.cursor directly for other types of queries.')
def __iter__(self):
# Always execute a new query for a new iterator.