Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Support switch Database by specified parameter not by router #372

Open
chrisjiayoulin opened this issue Jun 10, 2022 · 0 comments

Comments

@chrisjiayoulin
Copy link

We have a requirement to store different user information in different databases according to the domain name, and get data from the specified database when calling get_social_auth_for_user .

Although Django supports router to switch databases, it cannot satisfy us to switch databases based on current environment variables .

Is it possible for social_django to switch databases not through the router but by specifying a parameter?

Thanks You!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant