A
A
AlexBoss2021-11-12 15:08:19
Python
AlexBoss, 2021-11-12 15:08:19

How to connect to multiple databases via Databases of type target_session_attrs?

I want to connect to multiple master/slave databases. How do I use the Databases library to do this?
Tried to pass a string like

"postgresql://user:[email protected],postgresserver,postgresserver/db"
.
But I get an error that the string was parsed incorrectly.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question