activate_this = '/ABSOLUTE/PATH/TO/ENVIRONMENT/FILES/bin/activate_this.py' execfile(activate_this, dict(__file__=activate_this))
Tuesday, December 6, 2011
Activate VE from Django's manage.py
To transparently activate virtual environment from project's manage.py insert the code below right after #!/usr/bin/env python
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.