from django.contrib import admin
-from chunks.models import Chunk
+from chunks.models import Chunk, Attachment
class ChunkAdmin(admin.ModelAdmin):
admin.site.register(Chunk, ChunkAdmin)
+
+class AttachmentAdmin(admin.ModelAdmin):
+ list_display = ('key',)
+ search_fields = ('key',)
+
+admin.site.register(Attachment, AttachmentAdmin)