From 87416a9c3ca50fe7c9a8a34625714253bda25ac8 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 5 May 2006 04:27:16 +0000 Subject: [PATCH] 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 --- docs/contributing.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/contributing.txt b/docs/contributing.txt index 4387424a3b..d7552cdc7c 100644 --- a/docs/contributing.txt +++ b/docs/contributing.txt @@ -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 info -- the ``DATABASE_ENGINE``, ``DATABASE_USER`` and ``DATABASE_PASSWORD``. + 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 ===================