forked from ScoDoc/ScoDoc
max freq. notif. modif. codes Apo
This commit is contained in:
parent
a52bd6e7fe
commit
b653cb0218
@ -30,6 +30,7 @@
|
|||||||
import io
|
import io
|
||||||
from zipfile import ZipFile, BadZipfile
|
from zipfile import ZipFile, BadZipfile
|
||||||
|
|
||||||
|
from flask import Response
|
||||||
from flask import send_file, url_for
|
from flask import send_file, url_for
|
||||||
from flask import g, request
|
from flask import g, request
|
||||||
from flask_login import current_user
|
from flask_login import current_user
|
||||||
@ -44,7 +45,7 @@ import app.scodoc.sco_utils as scu
|
|||||||
|
|
||||||
|
|
||||||
# ---- Table recap formation
|
# ---- Table recap formation
|
||||||
def formation_table_recap(formation_id, format="html"):
|
def formation_table_recap(formation_id, format="html") -> Response:
|
||||||
"""Table recapitulant formation."""
|
"""Table recapitulant formation."""
|
||||||
T = []
|
T = []
|
||||||
formation = Formation.query.get_or_404(formation_id)
|
formation = Formation.query.get_or_404(formation_id)
|
||||||
|
@ -704,6 +704,7 @@ def do_import_etuds_from_portal(sem, a_importer, etudsapo_ident):
|
|||||||
typ=ScolarNews.NEWS_INSCR,
|
typ=ScolarNews.NEWS_INSCR,
|
||||||
text="Import Apogée de %d étudiants en " % len(created_etudids),
|
text="Import Apogée de %d étudiants en " % len(created_etudids),
|
||||||
obj=sem["formsemestre_id"],
|
obj=sem["formsemestre_id"],
|
||||||
|
max_frequency=10 * 60, # 10'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user