Skip to content

Instantly share code, notes, and snippets.

@jyr
Created September 5, 2010 05:32
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/565777 to your computer and use it in GitHub Desktop.
Save jyr/565777 to your computer and use it in GitHub Desktop.
#
# wsgi file
#
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/dpress/site/')
sys.path.append('/home/pythonco/public_html/modules/tinymce')
sys.path.append('/home/pythonco/public_html/modules/filebrowser')
os.environ['DJANGO_SETTINGS_MODULE'] = 'dpress.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