lms.djangoapps.badges.events package#
Submodules#
lms.djangoapps.badges.events.course_complete module#
Helper functions for the course complete event that was originally included with the Badging MVP.
- lms.djangoapps.badges.events.course_complete.badge_description(course, mode)#
Returns a description for the earned badge.
- lms.djangoapps.badges.events.course_complete.course_slug(course_key, mode)#
Legacy: Not to be used as a model for constructing badge slugs. Included for compatibility with the original badge type, awarded on course completion. Slug ought to be deterministic and limited in size so it’s not too big for Badgr. Badgr’s max slug length is 255.
- lms.djangoapps.badges.events.course_complete.evidence_url(user_id, course_key)#
Generates a URL to the user’s Certificate HTML view, along with a GET variable that will signal the evidence visit event.