1👍
✅
From the Using routers documentation, you can use model_instance._state.db
to inspect the database which the current model instance is using.
Source:stackexchange.com