Add site name config, settings context processor, and site branding to every page

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-17 18:17:31 -07:00
parent 4709f5567e
commit 1da0e87c54
3 changed files with 10 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ TEMPLATES = [
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"board.context_processors.settings",
],
},
},
@@ -139,6 +140,9 @@ X_FRAME_OPTIONS = "SAMEORIGIN"
DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
# Site name
SITE_NAME = "interchan"
# Media root - where media files are stored on the disk
MEDIA_ROOT = "media/"