Skip to content

Commit

Permalink
Adding course video to Django Admin.
Browse files Browse the repository at this point in the history
EDU-1036
  • Loading branch information
muzaffaryousaf committed Jul 28, 2017
1 parent 4c25f76 commit 3d88e47
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions edxval/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3d88e47

Please sign in to comment.