D
D
darkoment2021-04-22 20:54:16
Django
darkoment, 2021-04-22 20:54:16

How to deploy Django to different servers?

(as usual, no criticism please).
In general, I ran into a problem when you need to deploy a database (it can be divided into different databases) on two different servers, but at the same time so that it is possible to both work together (receive data from both servers), and with the ability to work separately in case need. In what ways can I implement this?
Unfortunately, I need it directly on two different physical machines (servers) (because otherwise there will be problems with the Personal Data Federal Law)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2021-04-22
@fox_12

Take - yes use:
https://docs.djangoproject.com/en/3.2/topics/db/mu...

M
maksam07, 2021-04-23
@maksam07

The question is how to run the project on different servers or how to interact with the DB between servers?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question