#26978: Improve the message attached to the 404 raised by get_object_or_404 and
get_list_or_404
-------------------------------------+-------------------------------------
Reporter: ewjoachim | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Core (Other) | Version: 1.9
Severity: Normal | Resolution:
Keywords: 404, object_name | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by ewjoachim):
I just realized (and tested) that the message of the Http404 was actually
never shown by default. And for #24733, the fact that the view can have
access to the exception does not make its message user facing. If
developers decide to copy exception message to their pages, that's their
responsability.
I might have been a little too fast in opening the ticket. Sorry for the
noise.
--
Ticket URL: <https://code.djangoproject.com/ticket/26978#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.787dc1e3b045ec502dfbbfec980b3e9e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.