Opened 5 years ago

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

Change History (2)

comment:1 Changed 5 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

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