Skip to content

Instantly share code, notes, and snippets.

@jyr
Created September 5, 2010 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyr/565795 to your computer and use it in GitHub Desktop.
Save jyr/565795 to your computer and use it in GitHub Desktop.
import os, sys
sys.path.append('/home/pythonco/public_html/modules')
sys.path.append('/home/pythonco/public_html/modules/django')
sys.path.append('/home/pythonco/public_html/pythoncocoa')
sys.path.append('/home/pythonco/public_html')
sys.path.append('/home/pythonco/public_html/modules/django_cms-2.0.2-py2.6.egg')
os.environ['DJANGO_SETTINGS_MODULE'] = 'pythoncocoa.settings'
os.environ['PYTHON_EGG_CACHE'] = '/tmp/trac-eggs'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment