Django

Code

Ticket #4726 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

insert in docu: MultiValueDictKeyError inherited from KeyError...

Reported by: jedie Assigned to: nobody
Milestone: Component: Documentation
Version: SVN Keywords:
Cc: Triage Stage: Accepted
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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/

Attachments

Change History

09/13/07 21:37:50 changed by PhiR

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to wontfix.
  • needs_tests changed.
  • needs_docs changed.

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

09/13/07 22:08:40 changed by mtredinnick

  • status changed from closed to reopened.
  • resolution deleted.
  • 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.

09/13/07 22:17:46 changed by mtredinnick

  • status changed from reopened to closed.
  • resolution set to fixed.

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


Add/Change #4726 (insert in docu: MultiValueDictKeyError inherited from KeyError...)




Change Properties
Action