Hi!

I'm doing app that needs to list all urlconf patterns, thats easy,
just looping and flattening the includes inside urlpatterns of current
settings urlconf. But, the hard part is that I also need to know which
one is the current RegexURLPattern of executed view (specific
request's RegexURLPattern)?

I've tried to implement Middleware but there doesn't seem to be easy
way to get "current RegexURLPattern" of the request.

One way would probably be of re-resolving the URL in the request, but
that is unnecessary duplication since Django did that already because
it got to the view.

Any ideas? Any help is appreciated, thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to