1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00
This commit is contained in:
Mo 2022-05-21 18:44:40 +02:00
parent 303d8b23be
commit 18ae6bacb0

View file

@ -628,7 +628,7 @@ class GroupView(SecureAdminModelView):
refreshFiltersCache = True
def query_modifier(self, query):
return query.wher(Group.semester == current_user.active_semester)
return query.where(Group.semester == current_user.active_semester)
def customCreateModel(self, form):
return Group.customInit(form.part_students.data)