Kaydet (Commit) efbace6b authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

Fixed #12433 -- Corrected a typo in the text of the exception raised by…

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
üst c8f22aef
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment