#19042 closed Bug (fixed)
mod_wsgi docs for virtualenv uses WSGIPythonPath incorrectly
Reported by: | Preston Holmes | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
as near as I can tell this section of the docs is incorrect:
https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#using-a-virtualenv
The docs suggest adding a line to the conf
however
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIPythonPath
stipulates that multiple locations be separated with a ':'
In my tests, using two lines will result in only the last line modifying the Python path, while using ':' works
I don't really use mod_wsgi much, so wouldn't mind someone validating this on another setup.
In 3abf6105b6c953c6feb28708b9903f583cb28438: