document subject list_editable in admin
This commit is contained in:
parent
7384a183b1
commit
a96e8aad3f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user