phantasmobile/app/utils.py
2023-07-26 11:50:09 +02:00

10 lines
232 B
Python

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