Commit 4d32e6ab authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Removed incorrect comment in core/handlers/modpython.py. If it were true, the...

Removed incorrect comment in core/handlers/modpython.py. If it were true, the modpython handler wouldn't be working, because the handler's module imports from django.http, which includes a settings import

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 082cfce1
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -12,11 +12,6 @@ from django.utils.log import getLogger

logger = getLogger('django.request')


# NOTE: do *not* import settings (or any module which eventually imports
# settings) until after ModPythonHandler has been called; otherwise os.environ
# won't be set up correctly (with respect to settings).

class ModPythonRequest(http.HttpRequest):
    def __init__(self, req):
        self._req = req