diff options
author | Sean Finney <seanius@debian.org> | 2010-05-04 23:21:33 +0200 |
---|---|---|
committer | Sean Finney <seanius@debian.org> | 2010-05-05 23:32:11 +0200 |
commit | 74cef20527c5381b4aa16976f9a15df470a195cd (patch) | |
tree | 925dc92e2524b671253276f4c9b071171931b1b8 /manage.py | |
parent | 84c6348811a8e9cbb9496269d7af601c92cc485b (diff) | |
download | patch-tracker-74cef20527c5381b4aa16976f9a15df470a195cd.tar.gz |
Initial django import, including models and admin models for current schema.
Diffstat (limited to 'manage.py')
-rwxr-xr-x | manage.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manage.py b/manage.py new file mode 100755 index 0000000..bcdd55e --- /dev/null +++ b/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) |