Commit 468613dc by Muzaffar yousaf Committed by GitHub

Merge pull request #85 from edx/course-video-to-admin

Adding course video to Django Admin.
parents 4c25f765 3d88e47b
......@@ -39,7 +39,15 @@ class VideoImageAdmin(admin.ModelAdmin):
verbose_name = 'Video Image'
verbose_name_plural = 'Video Images'
class CourseVideoAdmin(admin.ModelAdmin):
model = CourseVideo
verbose_name = 'Course Video'
verbose_name_plural = 'Course Videos'
admin.site.register(Profile, ProfileAdmin)
admin.site.register(Video, VideoAdmin)
admin.site.register(Subtitle)
admin.site.register(VideoImage, VideoImageAdmin)
admin.site.register(CourseVideo, CourseVideoAdmin)
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