Django

Code

Changeset 5434

Show
Ignore:
Timestamp:
06/07/07 13:03:21 (1 year ago)
Author:
jacob
Message:

Fixed #3842 - clarified PythonPath? directive in modpython.txt. Thanks, jon.i.austin@gmail.com.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/modpython.txt

    r5363 r5434  
    5252 
    5353Also, if you've manually altered your ``PYTHONPATH`` to put your Django project 
    54 on it, you'll need to tell mod_python:: 
    55  
    56     PythonPath "['/path/to/project'] + sys.path" 
     54on it, you'll need to tell mod_python: 
     55 
     56.. parsed-literal:: 
     57 
     58    <Location "/mysite/"> 
     59        SetHandler python-program 
     60        PythonHandler django.core.handlers.modpython 
     61        SetEnv DJANGO_SETTINGS_MODULE mysite.settings 
     62        PythonDebug On 
     63        **PythonPath "['/path/to/project'] + sys.path"** 
     64    </Location> 
    5765 
    5866.. caution::