Instead of modifying the process request attribute, you can raise `django.core.exceptions.MiddlewareNotUsed` (https://docs.djangoproject.com/en/1.4/topics/http/middleware/#init) to disable the middleware entirely.