Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
573c58d0
Commit
573c58d0
authored
12 years ago
by
Calen Pennington
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken docstring
parent
44635421
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/courseware/access.py
+3
-2
3 additions, 2 deletions
lms/djangoapps/courseware/access.py
with
3 additions
and
2 deletions
lms/djangoapps/courseware/access.py
+
3
−
2
View file @
573c58d0
...
...
@@ -84,10 +84,11 @@ def _has_access_course_desc(user, course, action):
'
staff
'
-- staff access to course.
"""
def
can_load
():
"
Can this user load this course?
"""
Can this user load this course?
NOTE: this is not checking whether user is actually enrolled in the course.
"
"
""
# delegate to generic descriptor check to check start dates
return
_has_access_descriptor
(
user
,
course
,
action
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment