From 13f20d5649dc106e442e00059fce731c4fd0ba04 Mon Sep 17 00:00:00 2001 From: Peter Fogg Date: Wed, 4 Nov 2015 10:28:07 -0500 Subject: [PATCH] Update `cert_info` docstring with correct return type. --- common/djangoapps/student/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/djangoapps/student/views.py b/common/djangoapps/student/views.py index 550a72e5b4..89e7337114 100644 --- a/common/djangoapps/student/views.py +++ b/common/djangoapps/student/views.py @@ -194,7 +194,7 @@ def cert_info(user, course_overview, course_mode): course_mode (str): The enrollment mode (honor, verified, audit, etc.) Returns: - dict: A dictionary with keys: + dict: Empty dict if certificates are disabled or hidden, or a dictionary with keys: 'status': one of 'generating', 'ready', 'notpassing', 'processing', 'restricted' 'show_download_url': bool 'download_url': url, only present if show_download_url is True