mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #22811 -- Allowed setting both the old and new TEST database settings.
An ImproperlyConfigured exception will be raised they mismatch.
This commit is contained in:
parent
dfa3505ff1
commit
1c58cabad7
4 changed files with 141 additions and 8 deletions
|
@ -586,6 +586,8 @@ TEST
|
|||
|
||||
All :setting:`TEST <DATABASE-TEST>` sub-entries used to be independent
|
||||
entries in the database settings dictionary, with a ``TEST_`` prefix.
|
||||
For backwards compatibility with older versions of Django, you can define
|
||||
both versions of the settings as long as they match.
|
||||
Further, ``TEST_CREATE``, ``TEST_USER_CREATE`` and ``TEST_PASSWD``
|
||||
were changed to ``CREATE_DB``, ``CREATE_USER`` and ``PASSWORD``
|
||||
respectively.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue