Skip to content

Commit

Permalink
Fixed #16399 -- Minor cleanup in core handler. Thanks, aaugustin.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jezdez committed Jul 4, 2011
1 parent c6ae0fa commit cb2d8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/core/handlers/base.py
Expand Up @@ -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
Expand Down

0 comments on commit cb2d8cd

Please sign in to comment.