Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #16399 -- Minor cleanup in core handler. Thanks, aaugustin.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cb2d8cd3a4f7fcaf65613aac0cad8522328de9f2 1 parent c6ae0fa
@jezdez jezdez authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/handlers/base.py
View
4 django/core/handlers/base.py
@@ -19,14 +19,14 @@ class BaseHandler(object):
]
def __init__(self):
- self._request_middleware = self._view_middleware = self._response_middleware = self._exception_middleware = None
+ self._request_middleware = self._view_middleware = self._template_response_middleware = self._response_middleware = self._exception_middleware = None
def load_middleware(self):
"""
Populate middleware lists from settings.MIDDLEWARE_CLASSES.
- Must be called after the environment is fixed (see __call__).
+ Must be called after the environment is fixed (see __call__ in subclasses).
"""
from django.conf import settings
from django.core import exceptions
Please sign in to comment.
Something went wrong with that request. Please try again.