I think this was missing... manage.py is fairly useful. =o)
authorBrandon King <kingb@caltech.edu>
Thu, 28 Aug 2008 05:21:05 +0000 (05:21 +0000)
committerBrandon King <kingb@caltech.edu>
Thu, 28 Aug 2008 05:21:05 +0000 (05:21 +0000)
htswfrontend/htswfrontend/manage.py [new file with mode: 0644]

diff --git a/htswfrontend/htswfrontend/manage.py b/htswfrontend/htswfrontend/manage.py
new file mode 100644 (file)
index 0000000..5e78ea9
--- /dev/null
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+from django.core.management import execute_manager
+try:
+    import settings # Assumed to be in the same directory.
+except ImportError:
+    import sys
+    sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
+    sys.exit(1)
+
+if __name__ == "__main__":
+    execute_manager(settings)