inscription utilisateur complète

This commit is contained in:
2025-07-28 17:07:01 +02:00
parent 6e58f328e4
commit 4d127a57e2
9 changed files with 338 additions and 32 deletions

8
bin/lib/template.py Normal file
View File

@@ -0,0 +1,8 @@
import jinja2
templateLoader = jinja2.FileSystemLoader(searchpath="../templates")
templateEnv = jinja2.Environment(loader=templateLoader)
def render_template(filename, args):
template = templateEnv.get_template(filename)
return template.render(args)