gaia_cob_pmp.app.context_processors

Functions

google_oauth2_client_id(→ dict[str, str])

Adds the OAuth app client ID to the context, for the popup on the core template.

Module Contents

gaia_cob_pmp.app.context_processors.google_oauth2_client_id(request: django.http.HttpRequest) dict[str, str][source]

Adds the OAuth app client ID to the context, for the popup on the core template.

Parameters:

request – The current request.

Returns:

A dict with the client ID in, for template rendering.