summaryrefslogtreecommitdiff
path: root/lib/python2.7/site-packages/django/conf/project_template/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/site-packages/django/conf/project_template/manage.py')
-rw-r--r--lib/python2.7/site-packages/django/conf/project_template/manage.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/python2.7/site-packages/django/conf/project_template/manage.py b/lib/python2.7/site-packages/django/conf/project_template/manage.py
new file mode 100644
index 0000000..391dd88
--- /dev/null
+++ b/lib/python2.7/site-packages/django/conf/project_template/manage.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+import os
+import sys
+
+if __name__ == "__main__":
+ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)