Update about page

This commit is contained in:
Nyymix 2025-03-28 21:37:50 +02:00
parent c86eca4dbb
commit 5f529dc2b9
8 changed files with 102 additions and 25 deletions

View file

@ -138,19 +138,13 @@ MEDIA_ROOT = BASE_DIR / 'media'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
# Import local settings
try:
from .local_settings import *
except ImportError:
pass
# Session lifetime 1 year
SESSION_COOKIE_AGE = 31556000
# Gotify
#GOTIFY_URL = "https://gotify....."
#GOTIFY_TOKEN = "topsecret"
# GOTIFY_URL = "https://gotify....."
# GOTIFY_TOKEN = "topsecret"
LOGGING = {
'version': 1,
@ -166,10 +160,10 @@ LOGGING = {
},
},
'handlers': {
#'gotify': {
# 'gotify': {
# 'level': 'ERROR',
# 'class': 'gallery.logging_handlers.GotifyHandler',
#},
# 'class': 'gallery.logging_handlers.GotifyHandler',
# },
'error_file': {
'level': 'ERROR',
'class': 'logging.FileHandler',
@ -185,10 +179,31 @@ LOGGING = {
},
'loggers': {
'django': {
#'handlers': ['error_file', 'warning_file', 'gotify'],
# 'handlers': ['error_file', 'warning_file', 'gotify'],
'handlers': ['error_file', 'warning_file'],
'level': 'WARNING',
'propagate': True,
},
},
}
}
ABOUT_PAGE_SETTINGS = {
"title": "Muistox gallery",
"description": "Just another wannabe photographer...",
"profile_image": "img/default.png",
"contact_email": "muistox@gallery.invalid",
"bluesky_url": "https://bsky.app/",
"twitter_url": "https://twitter.com/",
"instagram_url": "https://www.instagram.com/",
}
# Import local settings
try:
from .local_settings import *
except ImportError:
pass