Ajout modèle Chant

This commit is contained in:
Claude Paroz 2025-10-19 17:59:46 +02:00
parent 78cb3bae07
commit c7a08b3d3c
14 changed files with 220 additions and 11 deletions

View file

@ -4,6 +4,7 @@ Django settings for beesgospel project.
from pathlib import Path
from django.contrib.messages import constants
from django.urls import reverse_lazy
# Build paths inside the project like this: BASE_DIR / "subdir".
@ -113,6 +114,14 @@ STATIC_ROOT = BASE_DIR / "static"
MEDIA_URL = "media/"
MEDIA_ROOT = BASE_DIR / "media"
MESSAGE_TAGS = {
constants.DEBUG: "alert-info",
constants.INFO: "alert-info",
constants.SUCCESS: "alert-success",
constants.WARNING: "alert-warning",
constants.ERROR: "alert-danger",
}
LOGOUT_REDIRECT_URL = reverse_lazy("presentation")
DEFAULT_FROM_EMAIL = "webmaster@2xlibre.net"