блоки 2 и 3 доработки интерфейса системы тестирования

This commit is contained in:
Константин Лебединский
2026-04-29 21:06:17 +05:00
parent eff3fda5b0
commit bba96f8f9f
37 changed files with 4440 additions and 1292 deletions
+6
View File
@@ -69,6 +69,12 @@ def create_app() -> Flask:
app.register_blueprint(tests_bp)
app.register_blueprint(settings_bp)
from . import db as _db
@app.teardown_appcontext
def _shutdown_session(exc): # noqa: ARG001
_db.remove_session()
from .config import is_assignment_feature_enabled, is_dev_ui, is_hr_auth_enabled
from .auth.decorators import current_user as _current_user