##// END OF EJS Templates
Show additinal fields in attachment admin
neko259 -
r1748:13950944 default
parent child Browse files
Show More
@@ -148,6 +148,7 b' class BannerAdmin(admin.ModelAdmin):'
148
148
149 @admin.register(Attachment)
149 @admin.register(Attachment)
150 class AttachmentAdmin(admin.ModelAdmin):
150 class AttachmentAdmin(admin.ModelAdmin):
151 list_display = ('mimetype', 'file', 'url', 'alias')
151 search_fields = ('alias',)
152 search_fields = ('alias',)
152
153
153
154
General Comments 0
You need to be logged in to leave comments. Login now