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