diff options
author | Loic Bistuer <loic.bistuer@gmail.com> | 2015-02-21 23:08:09 +0700 |
---|---|---|
committer | Loic Bistuer <loic.bistuer@gmail.com> | 2015-02-21 23:13:14 +0700 |
commit | fa5f936b4803416d1b16e7171dce8df535d13766 (patch) | |
tree | 74f9b81769710dc2753d6a93153001e5c5b0e12e /tests/multiple_database | |
parent | 99a1bbf9853e0b06385d7f221a90828e6c060132 (diff) | |
download | django-fa5f936b4803416d1b16e7171dce8df535d13766.tar.gz |
Fixed allow_migrate signature in one of the tests.
Refs #24351.
Diffstat (limited to 'tests/multiple_database')
-rw-r--r-- | tests/multiple_database/tests.py | 2 |
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: |