#13542: Feature request: Debug 404 URL patterns as links
---------------------------+------------------------------------------------
Reporter: erw | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 1 |
---------------------------+------------------------------------------------
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.
--
Ticket URL: <http://code.djangoproject.com/ticket/13542>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.