2025.12.23 17:30:33 (cachyos.cmoser.eu)
This commit is contained in:
@@ -122,6 +122,7 @@ TEMPLATES = [
|
||||
'django.template.context_processors.request',
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
'django.contrib.messages.context_processors.messages',
|
||||
'tinywiki.context_processors.sidebar',
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -202,6 +203,12 @@ else:
|
||||
print("Email backend not known falling back to console!",file=sys.stderr)
|
||||
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
|
||||
|
||||
|
||||
CSP_DEFAULT_SRC = [
|
||||
"'self'",
|
||||
"https://youtube.com",
|
||||
]
|
||||
|
||||
_secret_key = LOCAL_DIR / "secret_key.py"
|
||||
if _secret_key.is_file():
|
||||
from .local import secret_key
|
||||
|
||||
Reference in New Issue
Block a user