diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2011-12-16 20:37:12 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2011-12-16 20:37:12 +0000 |
| commit | 4d32e6abc2fe683ecdea719a368ed8a4ce84a699 (patch) | |
| tree | f7b202e33d667d322b2896bd1a728dbba075c1ca /django/core/handlers/modpython.py | |
| parent | 082cfce185bdc4cda0755549b7a3bb00500c9256 (diff) | |
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
Diffstat (limited to 'django/core/handlers/modpython.py')
| -rw-r--r-- | django/core/handlers/modpython.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/django/core/handlers/modpython.py b/django/core/handlers/modpython.py index eba9dd39ca..b0b8a0618b 100644 --- a/django/core/handlers/modpython.py +++ b/django/core/handlers/modpython.py @@ -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 |
