diff options
author | raylu <raylu@cmu.edu> | 2011-05-12 18:07:56 -0400 |
---|---|---|
committer | raylu <raylu@cmu.edu> | 2011-05-12 18:07:56 -0400 |
commit | 8b7a1ebea29442f5d0fa499e932d451b61e57b5d (patch) | |
tree | 34c71900e358ff76979d1d814cbfc19a573966c3 | |
parent | 930c971b57d24efa0ff1653977beabfb550dd664 (diff) | |
download | pyc-8b7a1ebea29442f5d0fa499e932d451b61e57b5d.tar.xz |
Tweak wsgi loader to fix PYTHONPATH
http://support.dotcloud.com/entries/20008967-django-404-errors
-rw-r--r-- | wsgi.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ import os, sys os.environ['DJANGO_SETTINGS_MODULE'] = 'pyc.settings' +sys.path.append('/home/dotcloud/current/pyc') import django.core.handlers.wsgi djangoapplication = django.core.handlers.wsgi.WSGIHandler() |