How to activate virtualenv from inside a wsgi file? I had locally created a virtualenv and now deploying the project to webfaction. My project requires virtualenv to be activated. So how do I activate virtualenv before requests come to my app? I know this should be done inside the wsgi file with some code that will activate virtualenv. Well, what is the best way, best practice currently to do this? and all other possible ways to do the same. Thanks. :) asked 31 Oct '12, 14:13 Prajwal |
Prajwal, you ended up finding the solution and you posted it here: http://community.webfaction.com/questions/10804/using-virtualenvs-with-django Thank you. answered 10 Sep '13, 11:57 likebike |
Please take a look at this post. That should help you set things up to work with your virtual environments. answered 31 Oct '12, 14:23 bmeyer71 ♦♦ |