I have general processing to do in my context processor based on which url was used.
How can find out the name of the url used eg in my middleware. I feel like I want to do: def process_view(self, request, view_func, view_args, view_kwargs): request.url_name = view_kwargs.get('name', None) then get it from request.url_name after that? But something similar should work right? I can't use reverse() on the view name because I use direct_to_template quite a bit. Is it impossible? Thanks, Tom --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---