snapshot: preserve branding foundation and platform owner split

This commit is contained in:
Md Bayazid Bostame
2026-03-26 11:43:54 +01:00
parent 8926d6860c
commit 51700cfa8b
22 changed files with 966 additions and 242 deletions

View File

@@ -1,5 +1,8 @@
from .branding import get_branding_context
from .roles import template_role_context
def role_context(request):
return template_role_context(getattr(request, 'user', None))
context = template_role_context(getattr(request, 'user', None))
context.update(get_branding_context())
return context