phantasmobile/app/utils.py
2023-07-27 09:20:30 +02:00

10 lines
236 B
Python

from django.conf import settings
from .page.models import Page
def default_context(request):
context = {}
context['settings'] = settings
context['overlay'] = Page.objects.filter(slug="overlay").first()
return context