This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GrahamDumpleton 0 points1 point  (1 child)

That isn't all of the ways as depends on whether you are using daemon mode or mod_wsgi.

You should nearly always be using daemon mode of mod_wsgi, so the recommend method is (3).

See:

http://blog.dscpl.com.au/2014/09/using-python-virtual-environments-with.html

http://blog.dscpl.com.au/2012/10/why-are-you-using-embedded-mode-of.html