Django

Code

Ticket #4296: modpython.diff

File modpython.diff, 0.6 kB (added by Simon G. <dev@simon.net.nz>, 1 year ago)
  • modpython.txt

    old new  
    6363        **PythonPath "['/path/to/project'] + sys.path"** 
    6464    </Location> 
    6565 
     66Note that ``PYTHONPATH`` should be the parent directory of any module(s) you want to  
     67use, so if your application ``mysite`` is in the ``/var/www/mysite`` directory, then you 
     68should use: 
     69 
     70    PythonPath "['/var/www'] + sys.path" 
     71 
     72 
    6673.. caution:: 
    6774 
    6875    If you're using Windows, remember that the path will contain backslashes.