Skip to content
Snippets Groups Projects
Unverified Commit 3c40cd39 authored by irfanuddinahmad's avatar irfanuddinahmad Committed by GitHub
Browse files

Merge pull request #18021 from edx/iahmad/migrate_video_transcripts

added admin site settings
parents 4a016e01 0195e972
No related merge requests found
......@@ -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)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment