Ticket #16399: 16399.diff
File 16399.diff, 912 bytes (added by , 13 years ago) |
---|
-
django/core/handlers/base.py
19 19 ] 20 20 21 21 def __init__(self): 22 self._request_middleware = self._view_middleware = self._ response_middleware = self._exception_middleware = None22 self._request_middleware = self._view_middleware = self._template_response_middleware = self._response_middleware = self._exception_middleware = None 23 23 24 24 25 25 def load_middleware(self): 26 26 """ 27 27 Populate middleware lists from settings.MIDDLEWARE_CLASSES. 28 28 29 Must be called after the environment is fixed (see __call__ ).29 Must be called after the environment is fixed (see __call__ in subclasses). 30 30 """ 31 31 from django.conf import settings 32 32 from django.core import exceptions