blob: 06dd917b20bcd829bbdf7f39a04d76bb33e94e94 (
plain)
1
2
3
4
5
6
7
8
|
from django.contrib import admin
from models import Chunk
class ChunkAdmin(admin.ModelAdmin):
list_display = ('key',)
search_fields = ('key', 'content')
admin.site.register(Chunk, ChunkAdmin)
|