mirror of
https://git.isptech.ru/ISPsystem/isp-maintenance.git
synced 2025-04-22 02:15:57 +02:00
10 lines
336 B
Python
10 lines
336 B
Python
from db.connection import guess_database
|
|
|
|
|
|
# The variable will contain an object of
|
|
# the MySQLDatabase or PostgresqlDatabase class as well as all connection data
|
|
# If in the future there will be more databases in the platform,
|
|
# they should be added here
|
|
auth_database = guess_database('auth')
|
|
dci_1_database = guess_database('dci_1')
|