-class MediaAdmin(admin.ModelAdmin):
- #tag_model = BookMedia
-
- list_display = ('name', 'type', 'uploaded_at')
- ordering = ('name', 'type')
- search_fields = ('name',)
-
+class CollectionAdmin(admin.ModelAdmin):
+ prepopulated_fields = {'slug': ('title',)}