fix wsgi.py
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 May 2014 13:52:08 +0000 (22:52 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 May 2014 13:52:08 +0000 (22:52 +0900)
wsgi.py

diff --git a/wsgi.py b/wsgi.py
index 4ab8547..1d67f68 100644 (file)
--- a/wsgi.py
+++ b/wsgi.py
@@ -1,8 +1,8 @@
 import sys, os, os.path
 
-sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
+sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
 sys.path.insert(0, '/srv/data/tmp')
-os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'default.settings')
 
 from django.core.wsgi import get_wsgi_application
 application = get_wsgi_application()