#12433 closed (fixed)
Typo in raw query exception
Reported by: | bjunix | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There is a minor typo at:
http://code.djangoproject.com/browser/django/trunk/django/db/models/sql/query.py?rev=11968#L52
I guess it should say:
raise InvalidQuery('Raw queries are limited to SELECT queries. Use ' 'connection.cursor directly for **other** types of queries.')
Note:
See TracTickets
for help on using tickets.
(In [11973]) Fixed #12433 -- Corrected a typo in the text of the exception raised by RawQuery. Thanks to bjunix for the report.