From ae1d663b7913f6da233c55409c4973248372d302 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 22 Jun 2015 13:54:35 -0400 Subject: [1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning. --- tests/multiple_database/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/multiple_database/tests.py') diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index f5ce93fd8d..cad410baff 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)) -- cgit v1.3