forked from ScoDoc/ScoDoc
Invalidation cache lors d'une erreur sur association UE/Niveau. Peut-être cause de #874.
This commit is contained in:
parent
ad7b48e110
commit
c8ab9b9b6c
@ -432,6 +432,7 @@ class UniteEns(models.ScoDocModel):
|
||||
self.niveau_competence, parcours
|
||||
)
|
||||
if not ok:
|
||||
self.formation.invalidate_cached_sems()
|
||||
self.niveau_competence = prev_niveau # restore
|
||||
return False, error_message
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user