Source

django-better-chunks / chunks / admin.py

Full commit
1
2
3
4
5
6
7
8
from django.contrib import admin
from models import Chunk

class ChunkAdmin(admin.ModelAdmin):
  list_display = ('key', 'lang_code', 'site')
  search_fields = ('key', 'content')

admin.site.register(Chunk, ChunkAdmin)