Payloads are now built with Jinja templates

This commit is contained in:
Stanislas Jouffroy 2024-02-20 10:23:29 +01:00
parent ccd019eb4c
commit badced0a30
12 changed files with 222 additions and 175 deletions

View file

@ -0,0 +1,7 @@
from pathlib import Path
import config
RESOURCES_DIR = Path(config.RESOURCES_DIR, "gestion-sports")
BOOKING_TEMPLATE = Path(RESOURCES_DIR, "booking-payload.txt")
LOGIN_TEMPLATE = Path(RESOURCES_DIR, "login-payload.txt")