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
|
||||
from zipfile import ZipFile, BadZipfile
|
||||
|
||||
from flask import Response
|
||||
from flask import send_file, url_for
|
||||
from flask import g, request
|
||||
from flask_login import current_user
|
||||
@ -44,7 +45,7 @@ import app.scodoc.sco_utils as scu
|
||||
|
||||
|
||||
# ---- Table recap formation
|
||||
def formation_table_recap(formation_id, format="html"):
|
||||
def formation_table_recap(formation_id, format="html") -> Response:
|
||||
"""Table recapitulant formation."""
|
||||
T = []
|
||||
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,
|
||||
text="Import Apogée de %d étudiants en " % len(created_etudids),
|
||||
obj=sem["formsemestre_id"],
|
||||
max_frequency=10 * 60, # 10'
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user