2020-12-11 15:31:02 -05:00
|
|
|
''' customize the info available in context for rendering templates '''
|
|
|
|
from bookwyrm import models
|
|
|
|
|
2020-12-12 21:13:00 -05:00
|
|
|
def site_settings(request):# pylint: disable=unused-argument
|
2020-12-11 15:31:02 -05:00
|
|
|
''' include the custom info about the site '''
|
|
|
|
return {
|
|
|
|
'site': models.SiteSettings.objects.get()
|
|
|
|
}
|