summaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2014-06-17 15:15:00 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2014-06-17 15:25:59 (GMT)
commite2af0066dda3330ed601c953bd99e2e093664154 (patch)
treebf50b1f7f30253d749c05f488bbff7897aff615f /manage.py
parentfed428821582c77e258225fd0895f655f99ae007 (diff)
downloadhobo-e2af0066dda3330ed601c953bd99e2e093664154.zip
hobo-e2af0066dda3330ed601c953bd99e2e093664154.tar.gz
hobo-e2af0066dda3330ed601c953bd99e2e093664154.tar.bz2
keep the manage.py command under that name
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..c84d3a0
--- /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", "hobo.settings")
+
+ from django.core.management import execute_from_command_line
+
+ execute_from_command_line(sys.argv)