I'm a beginner in Django.
I would like to know how to configure two different projects to share the same database table in Django. The database I'm using is MySQL.
Let's say there's two projects, project A
and project B
. In project A
, I already created a custom user model in it. And in project B
, I want to use the custom user table from database created in project A
just for the login. Means that in project A
, there's registration and login for the custom user model.
In project B
, there's login only that will be using the same custom user data in the database.
Do I have to redefine the same custom user model from project A
in project B
?
What are the configuration settings that need to be done?
Thanks in advance.