Browse Source

Fix missign environment variables.

INADA Naoki 12 years ago
parent
commit
72a60f491e
2 changed files with 4 additions and 2 deletions
  1. 2 1
      django/setup.py
  2. 2 1
      django/setup_pg.py

+ 2 - 1
django/setup.py

@@ -23,7 +23,8 @@ def start(args):
         "-b", "0.0.0.0:8080",
         '-w', str(NCPU*3),
         "--log-level=critical"],
-        cwd="django/hello")
+        cwd="django/hello",
+        env=env)
     return 0
 
 def stop():

+ 2 - 1
django/setup_pg.py

@@ -23,7 +23,8 @@ def start(args):
         "-b", "0.0.0.0:8080",
         '-w', str(NCPU*3),
         "--log-level=critical"],
-        cwd="django/hello")
+        cwd="django/hello",
+        env=env)
     return 0
 
 def stop():