Disable setting course pacing during course run.
Also adds improved styling for course pacing settings, and unit tests around query counts for self-paced courses. ECOM-2650
This commit is contained in:
@@ -192,6 +192,7 @@ class CourseDetails(object):
|
||||
dirty = True
|
||||
|
||||
if (SelfPacedConfiguration.current().enabled
|
||||
and descriptor.can_toggle_course_pacing
|
||||
and 'self_paced' in jsondict
|
||||
and jsondict['self_paced'] != descriptor.self_paced):
|
||||
descriptor.self_paced = jsondict['self_paced']
|
||||
|
||||
Reference in New Issue
Block a user