1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Done ProgramView

This commit is contained in:
Mo 2021-07-29 01:04:58 +02:00
parent 5059725dee
commit 97497b3ad1

View file

@ -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))