fairdm.utils.context_processors#
Context processor that exposes FairDM configuration to templates.
Module Contents#
Functions#
Return the FairDM template context. |
API#
- fairdm(request)#
Return the FairDM template context.
The page config is the
PAGE_CONFIGsetting with the portal’s uploaded brand assets and name layered over it.Args: request: The current request.
Returns: A dict with
config,identity,theme_options,registry,page_configandjson_configentries.