diff options
| author | Derek Anderson <public@kered.org> | 2006-08-22 16:46:02 +0000 |
|---|---|---|
| committer | Derek Anderson <public@kered.org> | 2006-08-22 16:46:02 +0000 |
| commit | 450889c9a6f7da3c2fce77a0ccf4c4cea9e29710 (patch) | |
| tree | 33a9da2cb9d3157c82b6b66ba48b935b930149c4 /tests/evolvedbtests/manage.py | |
| parent | ffac8356ddcc4349ae902e9ba945fdb761a16a46 (diff) | |
schema evolution test cases
git-svn-id: http://code.djangoproject.com/svn/django/branches/schema-evolution@3647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/evolvedbtests/manage.py')
| -rwxr-xr-x | tests/evolvedbtests/manage.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/evolvedbtests/manage.py b/tests/evolvedbtests/manage.py new file mode 100755 index 0000000000..5e78ea979e --- /dev/null +++ b/tests/evolvedbtests/manage.py @@ -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) |
