-class BookStubAdmin(admin.ModelAdmin):
- # tag_model = Tag
-
- list_display = ('title', 'author', 'slug','pd')
- search_fields = ('title','author')
- ordering = ('title',)
+class MediaAdmin(admin.ModelAdmin):
+ #tag_model = BookMedia
+
+ list_display = ('name', 'type', 'uploaded_at')
+ ordering = ('name', 'type')