4 ms·
Just to be clear, it's like a normal: ssh ... cd <dir> . bin/activate ./manage.py shell ?? Thanks for answering :)
by d0m 14y ago
Just to be clear, it's like a normal:
ssh ...
cd <dir>
. bin/activate
./manage.py shell
??
Thanks for answering :)
- zacharyvoase 14y agoKind of. But of course that depends on what your deployment strategy is. I've worked in situations where the django project was deployed via 'pip install' into a virtualenv, which means the package would have been located in a site-packages directory, and there may have been older versions there too. Plus, using system SSH involves a degree of sysadmin work which might not be possible on a platform like Heroku, for example.
- fduran 14y agoHeroku supports Django shell: heroku run python projectname/manage.py command