Skip to content

Commit

Permalink
Removed incorrect comment in core/handlers/modpython.py. If it were t…
Browse files Browse the repository at this point in the history
…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: http://code.djangoproject.com/svn/django/trunk@17208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Dec 16, 2011
1 parent 082cfce commit 4d32e6a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions django/core/handlers/modpython.py
Expand Up @@ -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
Expand Down

0 comments on commit 4d32e6a

Please sign in to comment.