#27823: Use python-home in WSGI daemon installation documentation
-------------------------------------+-------------------------------------
Reporter: Avi | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: 1.10
Severity: Normal | Resolution:
Keywords: wsgi installation | Triage Stage: Accepted
apache |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):
* type: Bug => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
The `python-home` directive was added in
http://modwsgi.readthedocs.io/en/develop/release-notes/version-3.4.html
(August 2012).
Quoting the modwsgi docs for the `python-path` directive:
`If using a Python virtual environment, rather than use this option to
refer to the site-packages directory of the Python virtual environment,
you should use the python-home option to specify the root of the Python
virtual environment instead.`
So the correct line should be:
`WSGIDaemonProcess example.com python-home=/path/to/venv python-
path=/path/to/mysite.com`
--
Ticket URL: <https://code.djangoproject.com/ticket/27823#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.2d37752c42ca002956f8e135436f2649%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.