A router that always allows migrating.
| 24 | |
| 25 | |
| 26 | class MigrateEverythingRouter: |
| 27 | """ |
| 28 | A router that always allows migrating. |
| 29 | """ |
| 30 | |
| 31 | def allow_migrate(self, db, app_label, **hints): |
| 32 | return True |
| 33 | |
| 34 | |
| 35 | class MigrateWhenFooRouter: |
no outgoing calls