2👍
✅
In short: write your own middleware and database router.
Check this link – http://djangosnippets.org/snippets/2037/ – it should help you to get started.
Source:stackexchange.com