5 ms·
> 1) Somebody creates script that activates and runs django and commits it. You can call the python bin inside the virtualenv and it will run as if the virtual
by falsedan 8y ago
> 1) Somebody creates script that activates and runs django and commits it.
You can call the python bin inside the virtualenv and it will run as if the virtualenv was active:
venv/bin/python -m foo.bar
Obviously it doesn't work if devs used different names for their virtualenvs. Work has a convention to always use the same name so this works pretty well.