Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e66f9a24
Commit
e66f9a24
authored
Nov 04, 2013
by
Julia Hansbrough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified wording in a docstring
parent
b0fcadad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lms/djangoapps/courseware/access.py
+2
-4
No files found.
lms/djangoapps/courseware/access.py
View file @
e66f9a24
...
@@ -205,10 +205,8 @@ def _has_access_course_desc(user, course, action):
...
@@ -205,10 +205,8 @@ def _has_access_course_desc(user, course, action):
def
can_refund
():
def
can_refund
():
"""
"""
For paid/verified certificates, students may receive a refund IFF the deadline
For paid/verified certificates, students may receive a refund IFF they have
for refunds has not yet passed. Note that this function *only* checks whether
a verified certificate and the deadline for refunds has not yet passed.
or not that deadline has passed; checking whether the student actually *purchased*
a paid/verified certificate must be done elsewhere.
"""
"""
course_mode
=
CourseMode
.
mode_for_course
(
course
.
id
,
'verified'
)
course_mode
=
CourseMode
.
mode_for_course
(
course
.
id
,
'verified'
)
if
course_mode
is
None
:
if
course_mode
is
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment