1
0
forked from ScoDoc/ScoDoc

Fix: ue_set_internal => cache invalidation

This commit is contained in:
Emmanuel Viennet 2021-11-03 16:11:58 +01:00
parent 81720facff
commit 23a59357e9
2 changed files with 3 additions and 1 deletions

View File

@ -360,6 +360,8 @@ def ue_set_internal(ue_id):
ue.is_external = False ue.is_external = False
db.session.add(ue) db.session.add(ue)
db.session.commit() db.session.commit()
# Invalide les semestres de cette formation
sco_edit_formation.invalidate_sems_in_formation(ue.formation_id)
return redirect( return redirect(
url_for( url_for(
"notes.ue_table", scodoc_dept=g.scodoc_dept, formation_id=ue.formation_id "notes.ue_table", scodoc_dept=g.scodoc_dept, formation_id=ue.formation_id

View File

@ -1,7 +1,7 @@
# -*- mode: python -*- # -*- mode: python -*-
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
SCOVERSION = "9.0.59" SCOVERSION = "9.0.60"
SCONAME = "ScoDoc" SCONAME = "ScoDoc"