Ticket #16399: 16399.diff

File 16399.diff, 912 bytes (added by Aymeric Augustin, 13 years ago)
  • django/core/handlers/base.py

     
    1919    ]
    2020
    2121    def __init__(self):
    22         self._request_middleware = self._view_middleware = self._response_middleware = self._exception_middleware = None
     22        self._request_middleware = self._view_middleware = self._template_response_middleware = self._response_middleware = self._exception_middleware = None
    2323
    2424
    2525    def load_middleware(self):
    2626        """
    2727        Populate middleware lists from settings.MIDDLEWARE_CLASSES.
    2828
    29         Must be called after the environment is fixed (see __call__).
     29        Must be called after the environment is fixed (see __call__ in subclasses).
    3030        """
    3131        from django.conf import settings
    3232        from django.core import exceptions
Back to Top