V
V
Vladislav2015-10-06 22:53:05
Flask
Vladislav, 2015-10-06 22:53:05

How to connect 2 or more databases to one server in flask?

The question speaks for itself.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aCL, 2015-10-15
@aCL

For what reason and for what purpose. If the use of a particular database is determined by some rules and / or patterns - write a function that will return the appropriate session object, and then use it. If there is no pattern, create the necessary sessions in advance and call the one you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question