summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2015-09-05 18:57:05 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2015-09-05 20:31:22 +0200
commitce3dd17c2ee7ae81e1fc597b7a24ba4bbaee1625 (patch)
tree224b7c757390781d21535d8761bcd2583e508898 /docs/internals/contributing/writing-code
parent26658ccb0e1e8e2ab0f4509eb4b60bd041c48af6 (diff)
[1.8.x] Updated references to the TEST_* database settings.
They were removed in Django 1.9. I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release notes because the link points to the right location and the name was accurate at the time. Backport of 6d1110f from master
Diffstat (limited to 'docs/internals/contributing/writing-code')
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index 688c746002..f37902e960 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -68,7 +68,7 @@ The :setting:`DATABASES` setting in any test settings module needs to define
two databases:
* A ``default`` database. This database should use the backend that
- you want to use for primary testing
+ you want to use for primary testing.
* A database with the alias ``other``. The ``other`` database is used to
establish that queries can be directed to different databases. As a result,
@@ -98,8 +98,8 @@ These test databases are deleted when the tests are finished.
You will also need to ensure that your database uses UTF-8 as the default
character set. If your database server doesn't use UTF-8 as a default charset,
-you will need to include a value for :setting:`TEST_CHARSET` in the settings
-dictionary for the applicable database.
+you will need to include a value for :setting:`CHARSET <TEST_CHARSET>` in the
+test settings dictionary for the applicable database.
.. _runtests-specifying-labels: