1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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.
This commit is contained in:
Aymeric Augustin
2015-09-05 18:57:05 +02:00
parent d06014db53
commit 6d1110f2f0
3 changed files with 33 additions and 21 deletions

View File

@@ -137,7 +137,7 @@ class BaseDatabaseCreation(object):
Internal implementation - returns the name of the test DB that will be
created. Only useful when called from create_test_db() and
_create_test_db() and when no external munging is done with the 'NAME'
or 'TEST_NAME' settings.
settings.
"""
if self.connection.settings_dict['TEST']['NAME']:
return self.connection.settings_dict['TEST']['NAME']