phantasmobile/app/utils.py

11 lines
236 B
Python
Raw Permalink Normal View History

2023-07-26 09:50:09 +00:00
from django.conf import settings
from .page.models import Page
def default_context(request):
context = {}
context['settings'] = settings
2023-07-27 07:20:30 +00:00
context['overlay'] = Page.objects.filter(slug="overlay").first()
2023-07-26 09:50:09 +00:00
return context