moviewyrm/bookwyrm/context_processors.py
2020-12-11 12:31:02 -08:00

8 lines
249 B
Python

''' customize the info available in context for rendering templates '''
from bookwyrm import models
def site_settings(request):
''' include the custom info about the site '''
return {
'site': models.SiteSettings.objects.get()
}