I have two Django projects on one server. The first one was launched a few months ago, and since then has collected hundreds of user accounts. The second project starts in a few days, and we would like the second project to allow users of the first application to authenticate using the same credentials.
At first, I was going to simply reset the user table from the first project to the second project, but this will not allow a synchronous solution (the user creates an account in project B, does not have access to project A).
Does Django have the ability to reassign database names (since they are on the same server) to authenticate users and then back to the original database after authentication is complete?
If not, what do you think would be the best solution for my problem? In addition, we use MySQL.
source share