Ticket #7187: modpython.patch
| File modpython.patch, 0.6 kB (added by Andrei <andrei@nextbyte.ro>, 1 week ago) |
|---|
-
django/core/handlers/modpython.py
old new 143 143 def __call__(self, req): 144 144 # mod_python fakes the environ, and thus doesn't process SetEnv. This fixes that 145 145 os.environ.update(req.subprocess_env) 146 import sys 147 sys.path.append(req.hlist.directory) 146 148 147 149 # now that the environ works we can see the correct settings, so imports 148 150 # that use settings now can work
