forked from ScoDoc/ScoDoc
Fix: ue_set_internal => cache invalidation
This commit is contained in:
parent
81720facff
commit
23a59357e9
@ -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
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user