mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
Done ProgramView
This commit is contained in:
parent
5059725dee
commit
97497b3ad1
1 changed files with 4 additions and 1 deletions
|
@ -625,8 +625,11 @@ class ExperimentMarkView(SecureModelView):
|
||||||
|
|
||||||
|
|
||||||
class ProgramView(SecureModelView):
|
class ProgramView(SecureModelView):
|
||||||
|
can_view_details = True
|
||||||
|
|
||||||
column_list = ["label"]
|
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))
|
admin.add_view(StudentView(Student, db.session))
|
||||||
|
|
Loading…
Reference in a new issue