diff --git a/advlabdb/modelViews.py b/advlabdb/modelViews.py index 9596df8..c487dfc 100644 --- a/advlabdb/modelViews.py +++ b/advlabdb/modelViews.py @@ -625,8 +625,11 @@ class ExperimentMarkView(SecureModelView): class ProgramView(SecureModelView): + can_view_details = True + column_list = ["label"] - column_details_list = column_list + ["parts", "experiments", "groups"] + form_excluded_columns = ["parts", "experiments", "groups"] + column_details_list = column_list + form_excluded_columns admin.add_view(StudentView(Student, db.session))