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
5801f000
Unverified
Commit
5801f000
authored
5 years ago
by
Aarif
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21681 from edx/BOM-484
BOM-484
parents
edd8322e
1c0b78c0
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/djangoapps/util/milestones_helpers.py
+1
-0
1 addition, 0 deletions
common/djangoapps/util/milestones_helpers.py
with
1 addition
and
0 deletions
common/djangoapps/util/milestones_helpers.py
+
1
−
0
View file @
5801f000
...
...
@@ -405,6 +405,7 @@ def any_unfulfilled_milestones(course_id, user_id):
if
not
settings
.
FEATURES
.
get
(
'
MILESTONES_APP
'
):
return
False
user_id
=
None
if
user_id
is
None
else
int
(
user_id
)
fulfillment_paths
=
milestones_api
.
get_course_milestones_fulfillment_paths
(
course_id
,
{
'
id
'
:
user_id
})
# Returns True if any of the milestones is unfulfilled. False if
...
...
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