Skip to content

Commit

Permalink
Fixed #22417 -- Added additional documentation for refs #16969.
Browse files Browse the repository at this point in the history
Thanks Jon Foster for the report.
  • Loading branch information
timgraham committed Apr 20, 2014
1 parent 956bd64 commit 1b3a3fc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/releases/1.7.txt
Expand Up @@ -1247,6 +1247,10 @@ Miscellaneous
The :attr:`~django.core.validators.RegexValidator.flags` attribute was added The :attr:`~django.core.validators.RegexValidator.flags` attribute was added
to :class:`~django.core.validators.RegexValidator` to simplify this change. to :class:`~django.core.validators.RegexValidator` to simplify this change.


* When running tests on PostgreSQL, the :setting:`USER` will need read access
to the built-in ``postgres`` database. This is in lieu of the previous
behavior of connecting to the actual non-test database.

.. _deprecated-features-1.7: .. _deprecated-features-1.7:


Features deprecated in 1.7 Features deprecated in 1.7
Expand Down
5 changes: 5 additions & 0 deletions docs/topics/testing/overview.txt
Expand Up @@ -158,6 +158,11 @@ entirely!). If you want to use a different database name, specify
:setting:`NAME <TEST_NAME>` in the :setting:`TEST <DATABASE-TEST>` :setting:`NAME <TEST_NAME>` in the :setting:`TEST <DATABASE-TEST>`
dictionary for any given database in :setting:`DATABASES`. dictionary for any given database in :setting:`DATABASES`.


.. versionchanged:: 1.7

On PostgreSQL, :setting:`USER` will also need read access to the built-in
``postgres`` database.

Aside from using a separate database, the test runner will otherwise Aside from using a separate database, the test runner will otherwise
use all of the same database settings you have in your settings file: use all of the same database settings you have in your settings file:
:setting:`ENGINE <DATABASE-ENGINE>`, :setting:`USER`, :setting:`HOST`, etc. The :setting:`ENGINE <DATABASE-ENGINE>`, :setting:`USER`, :setting:`HOST`, etc. The
Expand Down

0 comments on commit 1b3a3fc

Please sign in to comment.