Opened 8 years ago

Closed 7 years ago

#4726 closed (fixed)

insert in docu: MultiValueDictKeyError inherited from KeyError...

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

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 Changed 7 years ago by PhiR

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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

comment:2 Changed 7 years ago by mtredinnick

  • Resolution wontfix deleted
  • Status changed from closed to reopened
  • Triage Stage changed from Unreviewed to Accepted

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 Changed 7 years ago by mtredinnick

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

(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