@receiver(COURSE_CERT_AWARDED, sender=GeneratedCertificate)
def create_completion_badge(sender, user, course_key, status, **kwargs):
 completion_check(user)

@ receiver ( COURSE_CERT_AWARDED , sender = GeneratedCertificate ) def create_completion_badge ( sender , user , course_key , status , ** kwargs ) : completion_check ( user )
standard signal hook to create x courses completed badges when a certificate has been generated .