Update app.py
Browse files
app.py
CHANGED
@@ -77,12 +77,20 @@ from modules.discourse.discourse_interface import (
|
|
77 |
from modules.database.database_init import initialize_database_connections
|
78 |
|
79 |
from modules.database.sql_db import (
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
)
|
87 |
|
88 |
from modules.database.mongo_db import (
|
|
|
77 |
from modules.database.database_init import initialize_database_connections
|
78 |
|
79 |
from modules.database.sql_db import (
|
80 |
+
get_user,
|
81 |
+
get_admin_user,
|
82 |
+
get_student_user,
|
83 |
+
get_teacher_user,
|
84 |
+
create_user,
|
85 |
+
create_student_user,
|
86 |
+
create_teacher_user,
|
87 |
+
create_admin_user,
|
88 |
+
update_student_user, # Agregada
|
89 |
+
delete_student_user, # Agregada
|
90 |
+
record_login,
|
91 |
+
record_logout,
|
92 |
+
get_recent_sessions,
|
93 |
+
get_user_total_time
|
94 |
)
|
95 |
|
96 |
from modules.database.mongo_db import (
|