mirror of
https://git.isptech.ru/ISPsystem/isp-maintenance.git
synced 2025-02-01 10:50:52 +01:00
9 lines
300 B
Python
9 lines
300 B
Python
from mgrctl.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
|
|
isp_database = guess_database('isp')
|