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:
@@ -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/"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user