You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,
i am curious weather i can use django-multidb-router in a app where i have to, 'route to a different db based on the group the current user belongs to' for example if the user belongs to a group called artists i want to use the 'default' and so on.? The said databases are different in the settings file, they are on the same host but use a different user and password.
The text was updated successfully, but these errors were encountered:
Django multidb router adds support for master/slave replication to Django, where reads should come off one or more slave DBs and writes should go to the master. Django's DB router support generally works at the model level (e.g. "auth_users" on one DB, "myapp_mytype" in another) but if you check the docs you might be able to find a way to do this.
hi,
i am curious weather i can use django-multidb-router in a app where i have to, 'route to a different db based on the group the current user belongs to' for example if the user belongs to a group called artists i want to use the 'default' and so on.? The said databases are different in the settings file, they are on the same host but use a different user and password.
The text was updated successfully, but these errors were encountered: