Commit 3d88e47b by muzaffaryousaf

Adding course video to Django Admin.

EDU-1036
parent 4c25f765
......@@ -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