Ajout modèle Chant
This commit is contained in:
parent
78cb3bae07
commit
c7a08b3d3c
14 changed files with 220 additions and 11 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue