Feat: add students to paths

This commit is contained in:
Bertrand Benjamin 2021-02-23 17:07:05 +01:00
parent 74d751a586
commit b5bf1ac137
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ from dash.dependencies import Input, Output
from .app import app
from .exam_analysis import app as exam_analysis
from .create_exam import app as create_exam
from .student_analysis import app as student_analysis
app.layout = html.Div(
@ -18,6 +19,8 @@ def display_page(pathname):
return exam_analysis.layout
elif pathname == "/create-exam":
return create_exam.layout
elif pathname == "/students":
return student_analysis.layout
else:
return "404"