Opened 17 years ago

Closed 17 years ago

#4726 closed (fixed)

insert in docu: MultiValueDictKeyError inherited from KeyError...

Reported by: jedie Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Please insert a note that a MultiValueDictKeyError inherited from KeyError, so it can be catched with "except KeyError"

http://www.djangoproject.com/documentation/request_response/

Change History (3)

comment:1 by Philippe Raoult, 17 years ago

Resolution: wontfix
Status: newclosed

This is really a python 'issue'. No need to mention such things in the django docs

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: wontfix
Status: closedreopened
Triage Stage: UnreviewedAccepted

I think this is worth adding a note about. It seems to be normal Python docs practice to note the standard parent of any new exceptions introduced. Reopening.

comment:3 by Malcolm Tredinnick, 17 years ago

Resolution: fixed
Status: reopenedclosed

(In [6155]) Fixed #4726 -- Added a note about the exception raised by QuerySet.getitem.

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