diff options
author | Russell Keith-Magee <russell@keith-magee.com> | 2007-07-20 14:42:57 +0000 |
---|---|---|
committer | Russell Keith-Magee <russell@keith-magee.com> | 2007-07-20 14:42:57 +0000 |
commit | f7ef0a92da23168f8ece5339bd32f67b7ee5ff1a (patch) | |
tree | 63aebf927b585ccd3bec38c128be97491a1b1cac /django/test/utils.py | |
parent | 56394220d5d4ae443dfc0fb55f677099696a55bf (diff) | |
download | django-f7ef0a92da23168f8ece5339bd32f67b7ee5ff1a.tar.gz |
Fixed #4738 -- Modified the prompt that is displayed when a test database cannot be created. The existing prompt was misleading if the issue wasn't a pre-existing database. Thanks for the suggestion, John Shaffer <jshaffer2112@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/test/utils.py')
-rw-r--r-- | django/test/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/utils.py b/django/test/utils.py index 0836b7eac6..bb8cce80fd 100644 --- a/django/test/utils.py +++ b/django/test/utils.py @@ -123,7 +123,7 @@ def create_test_db(verbosity=1, autoclobber=False): except Exception, e: sys.stderr.write("Got an error creating the test database: %s\n" % e) if not autoclobber: - confirm = raw_input("It appears the test database, %s, already exists. Type 'yes' to delete it, or 'no' to cancel: " % TEST_DATABASE_NAME) + confirm = raw_input("Type 'yes' if you would like to try deleting the test database '%s', or 'no' to cancel: " % TEST_DATABASE_NAME) if autoclobber or confirm == 'yes': try: if verbosity >= 1: |