Re: get to named url pattern from request.path

2007-12-18 Thread Malcolm Tredinnick
On Tue, 2007-12-18 at 02:40 -0800, frank h. wrote: > hello, > in a contextprocessor i am writing, i would like to use the "named > url" of the current view instead of request.path. > > I toyd with django.core.urlresolvers.resolve() but that just returns > the function configured in urls.py and

get to named url pattern from request.path

2007-12-18 Thread frank h.
hello, in a contextprocessor i am writing, i would like to use the "named url" of the current view instead of request.path. I toyd with django.core.urlresolvers.resolve() but that just returns the function configured in urls.py and not the name it was configured with to give an example: my