document subject list_editable in admin

This commit is contained in:
Sanj 2011-11-23 21:38:20 +05:30
parent 7384a183b1
commit a96e8aad3f

View File

@ -75,13 +75,17 @@ class VideoAdmin(admin.ModelAdmin):
search_fields = ('title', 'intro',)
list_filter = ['meeting', 'talk']
class DocumentAdmin(admin.ModelAdmin):
list_display = ('__unicode__', 'subject',)
list_editable = ('subject',)
admin.site.register(Comment, CommentAdmin)
admin.site.register(Meeting, MeetingAdmin)
admin.site.register(Audio, AudioAdmin)
admin.site.register(Video, VideoAdmin)
admin.site.register(Image, ImageAdmin)
admin.site.register(PadmaVideo, PadmaVideoAdmin)
admin.site.register(Document)
admin.site.register(Document, DocumentAdmin)
admin.site.register(DocumentSubject)
admin.site.register(Project, ProjectAdmin)
#admin.site.register(MeetingDay)