Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…by RawQuery. Thanks to bjunix for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit efbace6b7e0ae2f3c9cc7d04d0d7a18568d26222 1 parent c8f22ae
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/sql/
2  django/db/models/sql/
@@ -49,7 +49,7 @@ def get_columns(self):
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.
Please sign in to comment.
Something went wrong with that request. Please try again.