MA-722 Render xBlock API Support

This commit is contained in:
Nimisha Asthagiri
2015-05-27 11:48:53 -04:00
parent 60b73b48aa
commit d240785b17
20 changed files with 387 additions and 207 deletions

View File

@@ -90,7 +90,8 @@ def view_course_access(depth=0, access_action='load', check_for_milestones=False
request.user,
access_action,
course_id,
depth=depth
depth=depth,
check_if_enrolled=True,
)
except Http404:
# any_unfulfilled_milestones called a second time since has_access returns a bool