1
0
Fork 0
bookwyrm/bookwyrm/context_processors.py

8 lines
271 B
Python
Raw Normal View History

2021-03-08 08:49:10 -08:00
""" customize the info available in context for rendering templates """
2020-12-11 12:31:02 -08:00
from bookwyrm import models
2021-03-08 08:49:10 -08:00
def site_settings(request): # pylint: disable=unused-argument
""" include the custom info about the site """
return {"site": models.SiteSettings.objects.get()}