Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Removed incorrect comment in core/handlers/ If it were t…

…rue, the modpython handler wouldn't be working, because the handler's module imports from django.http, which includes a settings import

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4d32e6abc2fe683ecdea719a368ed8a4ce84a699 1 parent 082cfce
@adrianholovaty adrianholovaty authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 django/core/handlers/
5 django/core/handlers/
@@ -12,11 +12,6 @@
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

0 comments on commit 4d32e6a

Please sign in to comment.
Something went wrong with that request. Please try again.