1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 18:17:28 +02:00

Display details about tournaments

This commit is contained in:
Yohann D'ANELLO
2021-01-01 12:11:09 +01:00
parent bf6f87ee89
commit 0f65bc4561
9 changed files with 152 additions and 14 deletions

View File

@ -0,0 +1,14 @@
# Copyright (C) 2020 by Animath
# SPDX-License-Identifier: GPL-3.0-or-later
import os
from django import template
def get_env(key: str) -> str:
return os.getenv(key)
register = template.Library()
register.filter("get_env", get_env)