Store registration dates
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
d24f8cab16
commit
9de8a2ed0e
|
@ -18,6 +18,7 @@ def tfjm_context(request):
|
||||||
'ML_MANAGEMENT': settings.ML_MANAGEMENT,
|
'ML_MANAGEMENT': settings.ML_MANAGEMENT,
|
||||||
'PAYMENT_MANAGEMENT': settings.PAYMENT_MANAGEMENT,
|
'PAYMENT_MANAGEMENT': settings.PAYMENT_MANAGEMENT,
|
||||||
'RECOMMENDED_SOLUTIONS_COUNT': settings.RECOMMENDED_SOLUTIONS_COUNT,
|
'RECOMMENDED_SOLUTIONS_COUNT': settings.RECOMMENDED_SOLUTIONS_COUNT,
|
||||||
|
'REGISTRATION_DATES': settings.REGISTRATION_DATES,
|
||||||
'SINGLE_TOURNAMENT': settings.SINGLE_TOURNAMENT,
|
'SINGLE_TOURNAMENT': settings.SINGLE_TOURNAMENT,
|
||||||
'HEALTH_SHEET_REQUIRED': settings.HEALTH_SHEET_REQUIRED,
|
'HEALTH_SHEET_REQUIRED': settings.HEALTH_SHEET_REQUIRED,
|
||||||
'VACCINE_SHEET_REQUIRED': settings.VACCINE_SHEET_REQUIRED,
|
'VACCINE_SHEET_REQUIRED': settings.VACCINE_SHEET_REQUIRED,
|
||||||
|
|
|
@ -13,6 +13,7 @@ For the full list of settings and their values, see
|
||||||
https://docs.djangoproject.com/en/5.0/ref/settings/
|
https://docs.djangoproject.com/en/5.0/ref/settings/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from datetime import datetime
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -365,6 +366,11 @@ if TFJM_APP == "TFJM":
|
||||||
LOGO_FILE = "tfjm.svg"
|
LOGO_FILE = "tfjm.svg"
|
||||||
RULES_LINK = "https://tfjm.org/reglement"
|
RULES_LINK = "https://tfjm.org/reglement"
|
||||||
|
|
||||||
|
REGISTRATION_DATES = dict(
|
||||||
|
open=datetime.fromisoformat("2025-01-08T12:00:00+0100"),
|
||||||
|
close=datetime.fromisoformat("2025-03-02T22:00:00+0100"),
|
||||||
|
)
|
||||||
|
|
||||||
PROBLEMS = [
|
PROBLEMS = [
|
||||||
"Triominos",
|
"Triominos",
|
||||||
"Rassemblements mathématiques",
|
"Rassemblements mathématiques",
|
||||||
|
@ -395,6 +401,11 @@ elif TFJM_APP == "ETEAM":
|
||||||
LOGO_FILE = "eteam.png"
|
LOGO_FILE = "eteam.png"
|
||||||
RULES_LINK = "https://eteam.tfjm.org/rules/"
|
RULES_LINK = "https://eteam.tfjm.org/rules/"
|
||||||
|
|
||||||
|
REGISTRATION_DATES = dict(
|
||||||
|
open=datetime.fromisoformat("2024-06-01T12:00:00+0200"),
|
||||||
|
close=datetime.fromisoformat("2024-07-04T20:00:00+0200"),
|
||||||
|
)
|
||||||
|
|
||||||
PROBLEMS = [
|
PROBLEMS = [
|
||||||
"Exploring Flatland",
|
"Exploring Flatland",
|
||||||
"A Mazing Hive",
|
"A Mazing Hive",
|
||||||
|
|
Loading…
Reference in New Issue