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
This commit is contained in:
Malcolm Tredinnick 2007-05-08 03:42:19 +00:00
parent faa31732ca
commit b72c7d0517
1 changed files with 4 additions and 0 deletions

View File

@ -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, 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. 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. Once the test database has been established, Django will run your tests.
If everything goes well, at the end you'll see:: If everything goes well, at the end you'll see::