feat: wrap the db object around baza, which will provide helper methods

also adds the list of tracked sportsmen
This commit is contained in:
2025-05-27 12:28:51 +02:00
parent b6ae33861e
commit 65ec7ff73d
5 changed files with 153 additions and 93 deletions

View File

@@ -6,7 +6,7 @@ from flask_sqlalchemy import SQLAlchemy
from functools import wraps
from lewy_globals import getDb, colors as c
import flask, json, time
import lewy_db
import lewy_db as ldb
import lewy_globals
def require_authentication(func):