forked from ScoDoc/ScoDoc
refcomp_load en mode non debug
This commit is contained in:
parent
74f3a7399f
commit
ec82d27e1f
@ -245,9 +245,6 @@ def refcomp_load(formation_id=None):
|
|||||||
log(f"refcomp_load: ignoring {filename} (already loaded)")
|
log(f"refcomp_load: ignoring {filename} (already loaded)")
|
||||||
|
|
||||||
form = RefCompLoadForm()
|
form = RefCompLoadForm()
|
||||||
if current_app and not current_app.config["DEBUG"]:
|
|
||||||
form.upload.render_kw = {"disabled": "disabled"}
|
|
||||||
|
|
||||||
form.referentiel_standard.choices = [
|
form.referentiel_standard.choices = [
|
||||||
(r["id"], f"{r['specialite']} ({r['created']}-{r['serial']})")
|
(r["id"], f"{r['specialite']} ({r['created']}-{r['serial']})")
|
||||||
for r in refs_distrib_dict
|
for r in refs_distrib_dict
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
"Infos sur version ScoDoc"
|
"Infos sur version ScoDoc"
|
||||||
|
|
||||||
SCOVERSION = "9.7.32"
|
SCOVERSION = "9.7.33"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user