Fixed #1216 -- Noted in docs/contributing.txt 'Unit tests' section that the user needs permission to create a database

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-05-05 04:27:16 +00:00
parent cca0e7346d
commit 87416a9c3c
1 changed files with 3 additions and 1 deletions

View File

@ -247,8 +247,10 @@ To run the tests, ``cd`` to the ``tests/`` directory and type::
Yes, the unit tests need a settings module, but only for database connection Yes, the unit tests need a settings module, but only for database connection
info -- the ``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD``. info -- the ``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD``.
The unit tests will not touch your database; they create a new database, called The unit tests will not touch your database; they create a new database, called
``django_test_db``, which is deleted when the tests are finished. ``django_test_db``, which is deleted when the tests are finished. This means
your user account needs permission to execute ``CREATE DATABASE``.
Requesting features Requesting features
=================== ===================