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 urls.py contains this pattern

urlpatterns += patterns('mcc.log.status',
    url(r'ftpqueue/$', 'ftpqueue', name='mcc-ftpqueue'),
)


in my contextprocessor, request.path is '/ftpqueue/'
now I want to get to the name: 'mcc-ftpqueue'

how to do that?
thanks for any insight you might have
-frank

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to