fix manage.py
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 12 May 2014 07:57:45 +0000 (16:57 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 12 May 2014 07:57:45 +0000 (16:57 +0900)
manage.py

index 5c99b10..bae547a 100755 (executable)
--- a/manage.py
+++ b/manage.py
@@ -3,8 +3,6 @@ import os
 import sys
 
 if __name__ == "__main__":
-    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "fsij.settings")
-
+    os.environ["DJANGO_SETTINGS_MODULE"] = "fsij.settings"
     from django.core.management import execute_from_command_line
-
     execute_from_command_line(sys.argv)