Answer the question
In order to leave comments, you need to log in
What problems have you encountered when using the same database in multiple Django projects?
There is a database in which materials are stored.
In one of the projects, the base is quite well described in the models and is already working.
There are several other projects that need access to the same materials with the same models.
Many problems can arise here.
Tell me, how did you do this in your projects and maybe there are some best practices for such cases?
Answer the question
In order to leave comments, you need to log in
If one application is responsible for editing, and the rest need this data only for reading, then you can solve it through managed false models
https://docs.djangoproject.com/en/2.2/ref/models/o...
If the databases are different - then look towards https://docs.djangoproject.com/en/2.2/topics/db/mu...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question