Feature request: Debug 404 URL patterns as links
|Reported by:||erw||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When you get the debug 404 page, it says, for example:
Using the URLconf defined in urls, Django tried these URL patterns, in this order: 1. ^user/ 2. ^ratings/ 3. ^ratings/user/(?P<user_id>\d+)/$ ... The current URL, , didn't match any of these.
It would be nice if the simple ones (1 and 2 above) were links, simply to /user/ and /ratings/. I've included a quick patch that does that.
To work on URLconfs included from the main URLconf it needs some improvement, but I don't know how to do that and don't want to work on it unless the feature in general is found relevant. The regex probably also needs some more thought.