From d53fd71acb7a6bcce376152a794a533364655bf4 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 5 Dec 2010 01:03:39 +0000 Subject: [PATCH] Corrected incomplete and incorrect docs from r14822. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14823 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/settings.txt | 12 ++++++++++++ docs/topics/testing.txt | 14 +++++++------- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 380fa789a4..207933a72f 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -427,6 +427,18 @@ Only supported for the ``mysql`` backend (see the `MySQL manual`_ for details). .. _MySQL manual: MySQL_ +.. setting:: TEST_DEPENDENCIES + +TEST_DEPENDENCIES +~~~~~~~~~~~~~~~~~ + +Default: ``['default']``, for all databases other than ``default``, +which has no dependencies. + +The creation-order dependencies of the database. See the documentation +on :ref:`controlling the creation order of test databases +` for details. + .. setting:: TEST_MIRROR TEST_MIRROR diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index e56e577f3b..d1fda1d6a6 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -473,22 +473,22 @@ can specify the dependencies that exist using the DATABASES = { 'default': { # ... db settings - TEST_DEPENDENCIES = ['diamonds'] + 'TEST_DEPENDENCIES': ['diamonds'] }, 'diamonds': { # ... db settings - } + }, 'clubs': { # ... db settings - TEST_DEPENDENCIES = ['diamonds'] - } + 'TEST_DEPENDENCIES': ['diamonds'] + }, 'spades': { # ... db settings - TEST_DEPENDENCIES = ['diamonds','hearts'] - } + 'TEST_DEPENDENCIES': ['diamonds','hearts'] + }, 'hearts': { # ... db settings - TEST_DEPENDENCIES = ['diamonds','clubs'] + 'TEST_DEPENDENCIES': ['diamonds','clubs'] } }