From b5bf1ac137d1f0c1134fa0cdcf1674b79be83dc1 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 23 Feb 2021 17:07:05 +0100 Subject: [PATCH] Feat: add students to paths --- recopytex/dashboard/index.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recopytex/dashboard/index.py b/recopytex/dashboard/index.py index 79673ba..3052671 100644 --- a/recopytex/dashboard/index.py +++ b/recopytex/dashboard/index.py @@ -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"