Hello, I've been vigorously searching for a way to disable middleware on a per view basis, something like:
@disable_middleware def my_view(request): ... I'm wondering if something like this might be possible right now or if anyone else has had the need for this? -- I'm asking this because I'm developing an application which serves some dynamic views that only runs a few database queries, but which never return anything but an empty HttpResponse, which makes things such as LocaleMiddleware and SessionMiddleware add unneeded overhead for each hit. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---