Fixed WSGIPythonPath instruction in deployment docs

Partial backport of 3abf6105b6 from master. Refs #19042.
This commit is contained in:
Claude Paroz 2013-02-11 08:40:11 +01:00
parent 209f174e58
commit b4fb448f83
1 changed files with 3 additions and 3 deletions

View File

@ -61,10 +61,10 @@ Using a virtualenv
If you install your project's Python dependencies inside a `virtualenv`_, If you install your project's Python dependencies inside a `virtualenv`_,
you'll need to add the path to this virtualenv's ``site-packages`` directory to you'll need to add the path to this virtualenv's ``site-packages`` directory to
your Python path as well. To do this, you can add another line to your your Python path as well. To do this, add an additional path to your
Apache configuration:: `WSGIPythonPath` directive, with multiple paths separated by a colon::
WSGIPythonPath /path/to/your/venv/lib/python2.X/site-packages WSGIPythonPath /path/to/mysite.com:/path/to/your/venv/lib/python2.X/site-packages
Make sure you give the correct path to your virtualenv, and replace Make sure you give the correct path to your virtualenv, and replace
``python2.X`` with the correct Python version (e.g. ``python2.7``). ``python2.X`` with the correct Python version (e.g. ``python2.7``).