1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #23933 -- Made override_settings(DATABASE_ROUTERS) affect the master router.

This commit is contained in:
wrwrwr
2014-11-29 14:42:06 +01:00
committed by Tim Graham
parent d2202ec2d4
commit e6f19ec322
3 changed files with 20 additions and 2 deletions

View File

@@ -500,6 +500,9 @@ Tests
for Oracle: :setting:`DATAFILE`, :setting:`DATAFILE_TMP`,
:setting:`DATAFILE_MAXSIZE` and :setting:`DATAFILE_TMP_MAXSIZE`.
* The :func:`~django.test.override_settings` decorator can now affect the
master router in :setting:`DATABASE_ROUTERS`.
Validators
^^^^^^^^^^