Skip to content

Instantly share code, notes, and snippets.

@allanlei
Created January 15, 2014 08:01
Show Gist options
  • Save allanlei/8432471 to your computer and use it in GitHub Desktop.
Save allanlei/8432471 to your computer and use it in GitHub Desktop.
Activate Django shell in AWS EB
# Activate the virtualenv
source /opt/python/run/venv/bin/activate
# Then either:
django-admin.py shell --settings=MYAPP.settings
# or if you have a manage.py file in the top level directory of your app:
cd /opt/python/current/app
python manage.py shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment