summaryrefslogtreecommitdiff
path: root/django/core/handler.py
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-18 06:10:00 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-18 06:10:00 +0000
commit4e094e26e6ada89a2810eb1ff335f22ef6a5ca5d (patch)
tree8138e960eed570bd960d2e2511202d5425f4f1db /django/core/handler.py
parentfeeeda969c68757a26e769e7c6bbd2c7e5d58f8b (diff)
Renamed django.core.handler.CoreHandler to ModPythonHandler, in preparation for WSGI support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core/handler.py')
-rw-r--r--django/core/handler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/core/handler.py b/django/core/handler.py
index aae8730515..2586716374 100644
--- a/django/core/handler.py
+++ b/django/core/handler.py
@@ -2,10 +2,10 @@ import os
from django.utils import httpwrappers
# NOTE: do *not* import settings (or any module which eventually imports
-# settings) until after CoreHandler has been called; otherwise os.environ
+# settings) until after ModPythonHandler has been called; otherwise os.environ
# won't be set up correctly (with respect to settings).
-class CoreHandler:
+class ModPythonHandler:
def __init__(self):
self._request_middleware = self._view_middleware = self._response_middleware = None
@@ -147,4 +147,4 @@ class CoreHandler:
return '\n'.join(traceback.format_exception(*sys.exc_info()))
def handler(req):
- return CoreHandler()(req)
+ return ModPythonHandler()(req)