Update: models now follow PEP, add connection func, example app for show all vm6 users

This commit is contained in:
2024-02-11 23:10:29 +09:00
parent 867cd1c022
commit f9a213fe3e
8 changed files with 1387 additions and 202 deletions

View 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