Loading tests/migrations/test_operations.py +1 −1 Original line number Diff line number Diff line Loading @@ -1560,7 +1560,7 @@ class OperationTests(OperationTestBase): class MigrateNothingRouter(object): """ A router that sends all writes to the other database. A router that doesn't allow storing any model in any database. """ def allow_migrate(self, db, model): return False Loading Loading
tests/migrations/test_operations.py +1 −1 Original line number Diff line number Diff line Loading @@ -1560,7 +1560,7 @@ class OperationTests(OperationTestBase): class MigrateNothingRouter(object): """ A router that sends all writes to the other database. A router that doesn't allow storing any model in any database. """ def allow_migrate(self, db, model): return False Loading