Skip to content

Instantly share code, notes, and snippets.

@jyr jyr/django.wsgi
Created Sep 5, 2010

Embed
What would you like to do?
#
# 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
You can’t perform that action at this time.