diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-05-29 12:42:08 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2007-05-29 12:42:08 +0000 |
| commit | 0c4385bb02a839147bebe8d3ac25a35a17528a04 (patch) | |
| tree | 98100e7d0ef1c6f2c18546fd7301abf7dc29319d /docs/testing.txt | |
| parent | d9f6470f2dd452280b5dd1108510f3f5dba0cb9c (diff) | |
Added new TEST_DATABASE_CHARSET and TEST_DATABASE_COLLATION settings to ensure
that databases are created with the expected encoding during testing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/testing.txt')
| -rw-r--r-- | docs/testing.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/testing.txt b/docs/testing.txt index 4e5d1ec079..d36d5204e2 100644 --- a/docs/testing.txt +++ b/docs/testing.txt @@ -571,6 +571,16 @@ database settings will the same as they would be for the project normally. If you wish to use a name other than the default for the test database, you can use the ``TEST_DATABASE_NAME`` setting to provide a name. + +**New in Django development version:** If you wish to have fine-grained +control over the character set encoding used in your database, you can control +this with the ``TEST_DATABASE_CHARSET`` setting. For MySQL users, you can also +control the particular collation used by the test database with the +``TEST_DATABASE_COLLATION`` setting. Refer to the settings_ documentation for +details of these advanced settings. + +.. _settings: ../settings.txt + The test database is created by the user in the ``DATABASE_USER`` setting. This user needs to have sufficient privileges to create a new database on the system. |
