What is workon when using the Django framework?
Is it true that when using virtualenv, then you need to activate or deactivate, and so forth, but if you install and use virtualenvwrapper, then you don't have to do all that and can just create environments and use workon to switch? Can someone give an introduction as to how virtualenv, virtualenvwrapper, and workon relate to each other?
workon project_a means that you switch the the virtual environment project_a. In other words, when you type python or python manage.py you have access to the project_a libraries.
Is it true that when using virtualenv, then you need to activate or deactivate, and so forth, but if you install and use virtualenvwrapper, then you don't have to do all that and can just create environments and use workon to switch?
Yes. Roughly, workon project_b is the same than:
deactivate
source project_b/venv/path/bin/activate
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With