Unverified Commit 5d178fae by Mushtaq Ali Committed by GitHub

Merge pull request #129 from edx/mushtaq/video-status-search

Add status to video search in videos admin table.
parents 1dd5577a 7d31a078
...@@ -29,7 +29,7 @@ class VideoAdmin(admin.ModelAdmin): # pylint: disable=C0111 ...@@ -29,7 +29,7 @@ class VideoAdmin(admin.ModelAdmin): # pylint: disable=C0111
'id', 'edx_video_id', 'client_video_id', 'duration', 'created', 'status' 'id', 'edx_video_id', 'client_video_id', 'duration', 'created', 'status'
) )
list_display_links = ('id', 'edx_video_id') list_display_links = ('id', 'edx_video_id')
search_fields = ('id', 'edx_video_id', 'client_video_id') search_fields = ('id', 'edx_video_id', 'client_video_id', 'status')
list_per_page = 50 list_per_page = 50
admin_order_field = 'edx_video_id' admin_order_field = 'edx_video_id'
inlines = [CourseVideoInline, EncodedVideoInline] inlines = [CourseVideoInline, EncodedVideoInline]
......
Markdown is supported
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