forked from ScoDoc/ScoDoc
Update opolka/ScoDoc from ScoDoc/ScoDoc #2
@ -2339,14 +2339,14 @@ def formsemestre_validation_but(
|
||||
formsemestre: FormSemestre = FormSemestre.query.filter_by(
|
||||
id=formsemestre_id, dept_id=g.scodoc_dept_id
|
||||
).first_or_404()
|
||||
etud = Identite.get_etud(etudid)
|
||||
nb_etuds = formsemestre.etuds.count()
|
||||
# la route ne donne pas le type d'etudid pour pouvoir construire des URLs
|
||||
# provisoires avec NEXT et PREV
|
||||
try:
|
||||
etudid = int(etudid)
|
||||
except ValueError:
|
||||
abort(404, "invalid etudid")
|
||||
except ValueError as exc:
|
||||
raise ScoValueError("adresse invalide") from exc
|
||||
etud = Identite.get_etud(etudid)
|
||||
nb_etuds = formsemestre.etuds.count()
|
||||
read_only = not formsemestre.can_edit_jury()
|
||||
|
||||
# --- Navigation
|
||||
|
Loading…
Reference in New Issue
Block a user