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
b576b516
Commit
b576b516
authored
Aug 04, 2015
by
Jonathan Piacenti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix fetching of enrolled students in generate_progress_entries.
parent
2c96ee6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lms/djangoapps/progress/management/commands/generate_progress_entries.py
+1
-1
No files found.
lms/djangoapps/progress/management/commands/generate_progress_entries.py
View file @
b576b516
...
@@ -58,7 +58,7 @@ class Command(BaseCommand):
...
@@ -58,7 +58,7 @@ class Command(BaseCommand):
courses
=
filtered_courses
courses
=
filtered_courses
for
course
in
courses
:
for
course
in
courses
:
users
=
CourseEnrollment
.
users_enrolled_in
(
course
.
id
)
users
=
CourseEnrollment
.
objects
.
users_enrolled_in
(
course
.
id
)
# If one or more users were specified by the caller, just use those ones...
# If one or more users were specified by the caller, just use those ones...
if
user_ids
is
not
None
:
if
user_ids
is
not
None
:
filtered_users
=
[]
filtered_users
=
[]
...
...
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