django/django — pull request #765 by gnosek (2013-02-23 14:19:34+00:00)
Title: Fixed #18373 -- Improved debug messages for 404 errors

When an Http404 exception is raised from a view (as opposed to Django
trying to route the request), make the exception message contain the
full stack trace for easier debugging.

Also, make the reported URL match the one requested in resolve() call,
not the URL of the current page

https://code.djangoproject.com/ticket/18373