From b72c7d0517f2aaf7dadcad94116ba8aefea3e61a Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Tue, 8 May 2007 03:42:19 +0000 Subject: [PATCH] Fixed #3936 -- Mentioned that the DATABASE_USER in the test settings file needs permission to create a new database on the system. Patch from Vinay Sajip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5168 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/testing.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/testing.txt b/docs/testing.txt index b3b33e9678..ea2d9d1b75 100644 --- a/docs/testing.txt +++ b/docs/testing.txt @@ -516,6 +516,10 @@ database settings will the same as they would be for the project normally. If you wish to use a name other than the default for the test database, you can use the ``TEST_DATABASE_NAME`` setting to provide a name. +The test database is created by the user in the ``DATABASE_USER`` setting. +This user needs to have sufficient privileges to create a new database on the +system. + Once the test database has been established, Django will run your tests. If everything goes well, at the end you'll see::