Clarified wording in a docstring

This commit is contained in:
Julia Hansbrough
2013-11-04 15:57:57 +00:00
parent b0fcadad31
commit e66f9a243b

View File

@@ -205,10 +205,8 @@ def _has_access_course_desc(user, course, action):
def can_refund():
"""
For paid/verified certificates, students may receive a refund IFF the deadline
for refunds has not yet passed. Note that this function *only* checks whether
or not that deadline has passed; checking whether the student actually *purchased*
a paid/verified certificate must be done elsewhere.
For paid/verified certificates, students may receive a refund IFF they have
a verified certificate and the deadline for refunds has not yet passed.
"""
course_mode = CourseMode.mode_for_course(course.id, 'verified')
if course_mode is None: