diff options
author | Tim Graham <timograham@gmail.com> | 2015-06-22 13:54:35 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-06-24 16:08:20 -0400 |
commit | aaacaeb0963c406c4fe6f68c6ae51f4a65878250 (patch) | |
tree | b100c6ffc345f12342243a8ac684a692b26a9357 /tests/multiple_database | |
parent | e73842a95fb751f89a8cafc861bfd57d034cd116 (diff) | |
download | django-aaacaeb0963c406c4fe6f68c6ae51f4a65878250.tar.gz |
Renamed RemovedInDjangoXYWarnings for new roadmap.
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
Diffstat (limited to 'tests/multiple_database')
-rw-r--r-- | tests/multiple_database/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index 1dadb3bea4..08493ffaf2 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -931,7 +931,7 @@ class RouterTestCase(TestCase): def allow_migrate(self, db, model): """ Deprecated allow_migrate signature should trigger - RemovedInDjango20Warning. + RemovedInDjango110Warning. """ assert db == 'default' assert model is User @@ -945,7 +945,7 @@ class RouterTestCase(TestCase): "The signature of allow_migrate has changed from " "allow_migrate(self, db, model) to " "allow_migrate(self, db, app_label, model_name=None, **hints). " - "Support for the old signature will be removed in Django 2.0." + "Support for the old signature will be removed in Django 1.10." ) self.assertTrue(router.allow_migrate_model('default', User)) |