Hi there,

I'm working on a custom middleware class for the first time. My goal
is to write a process_view function that modifies the view_func and/or
view_args that were passed in.

The documentation states that process_view can either return None or
an HttpResponse. But is there a way to modify the arguments that were
passed in?

For example, if some_view is passed in as the view_func, is there a
way to change it to another_view, so another_view is executed instead?

Thanks for the help!

Leif



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to