fix: added context processor
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from web.models import WebSettings
|
||||
|
||||
|
||||
def web_settings(request):
|
||||
settings = WebSettings.load()
|
||||
return {
|
||||
"logo": settings.logo.url if settings.logo else "",
|
||||
}
|
||||
Reference in New Issue
Block a user