Ticket #4722: modpython.patch
File modpython.patch, 888 bytes (added by , 17 years ago) |
---|
-
docs/modpython.txt
50 50 whereas ``<Location>`` points at places in the URL structure of a Web site. 51 51 ``<Directory>`` would be meaningless here. 52 52 53 Also, if you 've manually altered your ``PYTHONPATH`` to put your Django project54 on it, you'll need to tell mod_python:53 Also, if your Django project is not on the default ``PYTHONPATH``, you'll have 54 to tell mod_python where it is: 55 55 56 56 .. parsed-literal:: 57 57 … … 60 60 PythonHandler django.core.handlers.modpython 61 61 SetEnv DJANGO_SETTINGS_MODULE mysite.settings 62 62 PythonDebug On 63 **PythonPath "['/path/to/project '] + sys.path"**63 **PythonPath "['/path/to/project/parent/dir'] + sys.path"** 64 64 </Location> 65 65 66 66 .. caution::