Ticket #7187: modpython.patch
File modpython.patch, 596 bytes (added by , 17 years ago) |
---|
-
django/core/handlers/modpython.py
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