forked from ScoDoc/DocScoDoc
Semestre BUT: ne propose pas indice -1
This commit is contained in:
parent
0e7f2f4deb
commit
8b5a996571
@ -213,7 +213,10 @@ def do_formsemestre_createwithmodules(edit=False):
|
||||
# en APC, ne permet pas de changer de semestre
|
||||
semestre_id_list = [formsemestre.semestre_id]
|
||||
else:
|
||||
semestre_id_list = [-1] + list(range(1, NB_SEM + 1))
|
||||
semestre_id_list = list(range(1, NB_SEM + 1))
|
||||
if not formation.is_apc():
|
||||
# propose "pas de semestre" seulement en classique
|
||||
semestre_id_list.insert(0, -1)
|
||||
|
||||
semestre_id_labels = []
|
||||
for sid in semestre_id_list:
|
||||
|
Loading…
Reference in New Issue
Block a user