Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #4738 -- Modified the prompt that is displayed when a test data…

…base cannot be created. The existing prompt was misleading if the issue wasn't a pre-existing database. Thanks for the suggestion, John Shaffer <>.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f7ef0a92da23168f8ece5339bd32f67b7ee5ff1a 1 parent 5639422
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/test/
2  django/test/
@@ -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':
if verbosity >= 1:

0 comments on commit f7ef0a9

Please sign in to comment.
Something went wrong with that request. Please try again.