1 from django.contrib import admin
3 from chunks.models import Chunk, Attachment
6 class ChunkAdmin(admin.ModelAdmin):
7 list_display = ('key', 'description',)
8 search_fields = ('key', 'content',)
10 admin.site.register(Chunk, ChunkAdmin)
13 class AttachmentAdmin(admin.ModelAdmin):
14 list_display = ('key',)
15 search_fields = ('key',)
17 admin.site.register(Attachment, AttachmentAdmin)