Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #1216 -- Noted in docs/contributing.txt 'Unit tests' section th…

…at the user needs permission to create a database

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 87416a9c3ca50fe7c9a8a34625714253bda25ac8 1 parent cca0e73
Adrian Holovaty adrianholovaty authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/contributing.txt
4 docs/contributing.txt
View
@@ -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
===================
Please sign in to comment.
Something went wrong with that request. Please try again.