root/django.wsgi

Revision 39:8cfe36ca2020, 364 bytes (checked in by Jeffrey Gelens, 3 months ago)

Page updates

Line 
1import os
2import sys
3
4# Set environment variables
5os.environ['DJANGO_SETTINGS_MODULE'] = "gelens_org.settings"
6os.environ['PYTHON_EGG_CACHE'] = '/tmp'
7
8# Set application path
9sys.path.insert(0, '/srv/www/apps')
10sys.path.insert(0, '/srv/www/apps/gelens_org')
11
12# Load Django WSGI handler
13from django.core.handlers.wsgi import WSGIHandler
14application = WSGIHandler()
Note: See TracBrowser for help on using the browser.