healthchecks_healthchecks/hc/front/context_processors.py
2023-10-26 08:35:06 +03:00

11 lines
277 B
Python

from __future__ import annotations
from django.conf import settings
from django.http import HttpRequest
def branding(request: HttpRequest) -> dict[str, str | None]:
return {
"site_name": settings.SITE_NAME,
"site_logo_url": settings.SITE_LOGO_URL,
}