diff --git a/app/templates/assiduites/pages/test.j2 b/app/templates/assiduites/pages/test.j2 new file mode 100644 index 0000000000..25f23546bd --- /dev/null +++ b/app/templates/assiduites/pages/test.j2 @@ -0,0 +1,18 @@ + + + + + + + Test DateUtils + + + + +
+ + +
+ + + \ No newline at end of file diff --git a/app/views/assiduites.py b/app/views/assiduites.py index 7d87ac6797..38eadef16a 100644 --- a/app/views/assiduites.py +++ b/app/views/assiduites.py @@ -1297,6 +1297,16 @@ def generate_bul_list(etud: Identite, semestre: FormSemestre) -> str: ) +@bp.route("/test", methods=["GET", "POST"]) +@scodoc +@permission_required(Permission.ScoView) +def test(): + """XXX fonction de test a retirer""" + if request.method == "POST": + print("test date_utils : ", request.form) + return render_template("assiduites/pages/test.j2") + + # --- Fonctions internes ---