aboutsummaryrefslogtreecommitdiffstats
path: root/examples/djangoproject/manage.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/djangoproject/manage.py')
-rw-r--r--examples/djangoproject/manage.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/djangoproject/manage.py b/examples/djangoproject/manage.py
new file mode 100644
index 0000000..6c0acfc
--- /dev/null
+++ b/examples/djangoproject/manage.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python
+import os
+import sys
+
+
+if __name__ == '__main__':
+ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangoproject.settings')
+
+ from django.core.management import execute_from_command_line
+ execute_from_command_line(sys.argv)