openedx.core.djangoapps.demographics.api package#

Submodules#

openedx.core.djangoapps.demographics.api.status module#

Python API for Demographics Status

openedx.core.djangoapps.demographics.api.status.show_call_to_action_for_user(user)#

Utility method to determine if a user should be shown the Demographics call to action.

openedx.core.djangoapps.demographics.api.status.show_user_demographics(user, enrollments=None, entitlements=None)#

Check if the user should be shown demographics collection fields. Currently limited to MicroBachlors Programs’ learners who aren’t part of an enterprise.

Module contents#