aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-15 16:33:09 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-15 16:33:09 +0800
commitafc87e9ef72745bdddb1adc8a84f3d46eac73440 (patch)
treecf1996806bb5dfb0f656d9721978ecf3962a8112 /manage.py
downloaddjango-skaschool-afc87e9ef72745bdddb1adc8a84f3d46eac73440.tar.bz2
Initial commit of django_skaschool
Diffstat (limited to 'manage.py')
-rw-r--r--manage.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/manage.py b/manage.py
new file mode 100644
index 0000000..7a8a1e7
--- /dev/null
+++ b/manage.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+import os
+import sys
+
+if __name__ == "__main__":
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "django_skaschool.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)