helpers

Functions

intranet.apps.features.helpers.get_feature_context(request) str | None[source]

Given a Django request, returns the ‘context’ that should be used to select feature announcements to display (one of dashboard, login, eighth_signup, or None).

Parameters:

request – The current request object.

Returns:

The “context” that should be used to select feature announcements for the page requested by request.