1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-02 04:38:35 +02:00

New index page for ETEAM

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello
2024-06-07 13:51:24 +02:00
parent fd7fe90fce
commit 872009894d
9 changed files with 231 additions and 77 deletions

View File

@ -118,6 +118,7 @@ TEMPLATES = [
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'tfjm.context_processors.tfjm_context',
],
},
},
@ -306,6 +307,12 @@ else:
}
}
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels.layers.InMemoryChannelLayer"
}
}
# Custom phone number format
PHONENUMBER_DB_FORMAT = 'NATIONAL'
PHONENUMBER_DEFAULT_REGION = 'FR'
@ -361,11 +368,7 @@ FORBIDDEN_TRIGRAMS = [
"SEX",
]
CHANNEL_LAYERS = {
"default": {
"BACKEND": "channels.layers.InMemoryChannelLayer"
}
}
TFJM_APP = os.getenv("TFJM_APP", "TFJM") # Change to ETEAM for the ETEAM tournament
if TFJM_STAGE == "prod": # pragma: no cover
from .settings_prod import * # noqa: F401,F403