added admin site settings
This commit is contained in:
@@ -27,7 +27,6 @@ class Command(BaseCommand):
|
||||
$ ./manage.py cms migrate_transcripts --course-id 'Course1' --course-id 'Course2' --commit
|
||||
$ ./manage.py cms migrate_transcripts --from-settings
|
||||
"""
|
||||
args = '<course_id course_id ...>'
|
||||
help = 'Migrates transcripts to S3 for one or more courses.'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
|
||||
@@ -91,7 +91,6 @@ def enqueue_async_migrate_transcripts_tasks(
|
||||
|
||||
Arguments:
|
||||
course_keys: Command line course ids as list of CourseKey objects,
|
||||
all_courses: Run the command for all courses. Default is False,
|
||||
force_update: Overwrite file in S3. Default is False,
|
||||
commit: Update S3 or dry-run the command to see which transcripts will be affected. Default is False.
|
||||
"""
|
||||
|
||||
@@ -12,6 +12,7 @@ from openedx.core.djangoapps.video_config.forms import (
|
||||
from openedx.core.djangoapps.video_config.models import (
|
||||
CourseHLSPlaybackEnabledFlag, HLSPlaybackEnabledFlag,
|
||||
CourseVideoTranscriptEnabledFlag, VideoTranscriptEnabledFlag,
|
||||
TranscriptMigrationSetting,
|
||||
)
|
||||
|
||||
|
||||
@@ -53,3 +54,4 @@ admin.site.register(CourseHLSPlaybackEnabledFlag, CourseHLSPlaybackEnabledFlagAd
|
||||
|
||||
admin.site.register(VideoTranscriptEnabledFlag, ConfigurationModelAdmin)
|
||||
admin.site.register(CourseVideoTranscriptEnabledFlag, CourseVideoTranscriptEnabledFlagAdmin)
|
||||
admin.site.register(TranscriptMigrationSetting, ConfigurationModelAdmin)
|
||||
|
||||
Reference in New Issue
Block a user