A router that doesn't have an opinion regarding migrating.
| 6 | |
| 7 | |
| 8 | class AgnosticRouter: |
| 9 | """ |
| 10 | A router that doesn't have an opinion regarding migrating. |
| 11 | """ |
| 12 | |
| 13 | def allow_migrate(self, db, app_label, **hints): |
| 14 | return None |
| 15 | |
| 16 | |
| 17 | class MigrateNothingRouter: |
no outgoing calls