1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #17582 - Added message to DoesNotExist exceptions.

Thanks simon@ for the suggestion and JordanPowell
for the initial patch.
This commit is contained in:
Tim Graham
2013-05-24 13:30:37 -04:00
committed by Tim Graham
parent 37ea9f9c03
commit 6f8627dd7f
4 changed files with 15 additions and 3 deletions

View File

@@ -277,6 +277,9 @@ Minor features
a ``SuspiciousOperation`` reaches the WSGI handler to return an
``HttpResponseBadRequest``.
* The :exc:`~django.core.exceptions.DoesNotExist` exception now includes a
message indicating the name of the attribute used for the lookup.
Backwards incompatible changes in 1.6
=====================================