moviewyrm/bookwyrm/context_processors.py
2021-04-26 09:15:42 -07:00

7 lines
269 B
Python

""" customize the info available in context for rendering templates """
from bookwyrm import models
def site_settings(request): # pylint: disable=unused-argument
"""include the custom info about the site"""
return {"site": models.SiteSettings.objects.get()}