Code

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#12433 closed (fixed)

Typo in raw query exception

Reported by: bjunix Owned by: nobody
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.