mirror of
https://git.isptech.ru/ISPsystem/isp-maintenance.git
synced 2025-09-13 20:03:08 +02:00
Update: models now follow PEP, add connection func, example app for show all vm6 users
This commit is contained in:
8
isp_maintenance/db/vm6/databases.py
Normal file
8
isp_maintenance/db/vm6/databases.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
isp_database = guess_database('isp')
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user