From fa5f936b4803416d1b16e7171dce8df535d13766 Mon Sep 17 00:00:00 2001 From: Loic Bistuer Date: Sat, 21 Feb 2015 23:08:09 +0700 Subject: [PATCH] Fixed allow_migrate signature in one of the tests. Refs #24351. --- tests/multiple_database/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index 6dc64be040..1ac6b3c590 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -1524,7 +1524,7 @@ class AntiPetRouter(object): # A router that only expresses an opinion on migrate, # passing pets to the 'other' database - def allow_migrate(self, db, app_label, model_name, **hints): + def allow_migrate(self, db, app_label, model_name=None, **hints): if db == 'other': return model_name == 'pet' else: