wsgi.py
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 May 2014 15:58:42 +0000 (00:58 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 9 May 2014 15:58:42 +0000 (00:58 +0900)
wsgi.py

diff --git a/wsgi.py b/wsgi.py
index a947622..c7e8cbf 100644 (file)
--- a/wsgi.py
+++ b/wsgi.py
@@ -2,7 +2,8 @@ import sys, os, os.path
 
 sys.path.insert(0,os.path.abspath(os.path.dirname(__file__)))
 sys.path.insert(0, '/srv/data/tmp')
-os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'fsij.settings')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'fsij.settings'
+# os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'fsij.settings')
 
 from django.core.wsgi import get_wsgi_application
 application = get_wsgi_application()