Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#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.')

Change History (2)

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: newclosed

(In [11973]) Fixed #12433 -- Corrected a typo in the text of the exception raised by RawQuery. Thanks to bjunix for the report.

comment:2 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top