diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-02 17:41:31 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2010-12-24 17:38:01 +0100 |
commit | 6710679433a803ff4b157efe7ef37539fae72a79 (patch) | |
tree | 285bb00f6a5f325bb8c7ed1baadd287e04ab2d3c /ishtar/manage.py | |
download | Ishtar-6710679433a803ff4b157efe7ef37539fae72a79.tar.bz2 Ishtar-6710679433a803ff4b157efe7ef37539fae72a79.zip |
Initial commit
Diffstat (limited to 'ishtar/manage.py')
-rwxr-xr-x | ishtar/manage.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ishtar/manage.py b/ishtar/manage.py new file mode 100755 index 000000000..bcdd55e27 --- /dev/null +++ b/ishtar/manage.py @@ -0,0 +1,11 @@ +#!/usr/bin/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) |