Multi-db router documentation example doesn't work as written.
|Reported by:||Cliff Dyer||Owned by:||Cliff Dyer|
|Severity:||Keywords:||multidb model documentation|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
MasterSlaveRouter.allow_relation example method documented in
/docs/topics/db/multi-db.txt doesn't work as written. It checks if a model instance is in a list of strings representing the names of the various databases. It should check
obj._state.db on each of those objects rather than checking