Skip to content

Instantly share code, notes, and snippets.

@joshourisman
Created February 14, 2011 22:23
Show Gist options
  • Save joshourisman/826715 to your computer and use it in GitHub Desktop.
Save joshourisman/826715 to your computer and use it in GitHub Desktop.
import sys, os
sys.path.append('/usr/local/venvs/my_venv/')
sys.path.append('/usr/local/venvs/my_venv/my_project')
os.environ['DJANGO_SETTINGS_MODULE'] = 'my_project.settings'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment