summaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2015-07-02 08:46:33 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2015-07-02 08:46:33 (GMT)
commit26feb97617b92b964eacb1a1b1050ec5d4a4db1d (patch)
tree2a78b97c755a1e9ddf5b2bd7b8a796d795ae8bfb /manage.py
downloadwelco-26feb97617b92b964eacb1a1b1050ec5d4a4db1d.zip
welco-26feb97617b92b964eacb1a1b1050ec5d4a4db1d.tar.gz
welco-26feb97617b92b964eacb1a1b1050ec5d4a4db1d.tar.bz2
django-admin.py startproject welco
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/manage.py b/manage.py
new file mode 100755
index 0000000..f518453
--- /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", "welco.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)