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
6cb73cf7
Commit
6cb73cf7
authored
Aug 17, 2017
by
Jeff LaJoie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds in additional logging for management command, shows what's enqueued and what's updated
parent
31292a68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
openedx/core/djangoapps/verified_track_content/management/commands/swap_from_auto_track_cohort_pilot.py
+3
-0
No files found.
openedx/core/djangoapps/verified_track_content/management/commands/swap_from_auto_track_cohort_pilot.py
View file @
6cb73cf7
...
...
@@ -170,6 +170,7 @@ class Command(BaseCommand):
)
if
(
audit_partition_group_access
and
audit_course_user_group_partition_group
.
group_id
in
audit_partition_group_access
):
print
"Queueing XBlock at location: '
%
s' for Audit Content Group update "
%
item
.
location
set_audit_enrollment_track
=
True
# Check the partition and group IDs for the verified course group, if it exists in
...
...
@@ -180,6 +181,7 @@ class Command(BaseCommand):
)
if
(
verified_partition_group_access
and
verified_course_user_group_partition_group
.
group_id
in
verified_partition_group_access
):
print
"Queueing XBlock at location: '
%
s' for Verified Content Group update "
%
item
.
location
set_verified_enrollment_track
=
True
# If the item has group_access that is not the
...
...
@@ -221,6 +223,7 @@ class Command(BaseCommand):
for
item
in
items_to_update
:
module_store
.
update_item
(
item
,
ModuleStoreEnum
.
UserID
.
mgmt_command
)
module_store
.
publish
(
item
.
location
,
ModuleStoreEnum
.
UserID
.
mgmt_command
)
print
"Updated and published XBlock at location: '
%
s'"
%
item
.
location
# Check if we should delete any partition groups if there are no errors.
# If there are errors, none of the xblock items will have been updated,
...
...
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