summaryrefslogtreecommitdiff
path: root/tests/multiple_database
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multiple_database')
-rw-r--r--tests/multiple_database/tests.py2
1 files changed, 1 insertions, 1 deletions
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: