diff options
author | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
commit | c59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c (patch) | |
tree | 2fc44ca867839d5e591e21467b6e4526f7a9f080 /lib/chunks/admin.py | |
parent | ed77da873e675f02f12cbab9be27f342f825444b (diff) |
added grappelli, filebrowser, chunks and tagging to lcal repo
Diffstat (limited to 'lib/chunks/admin.py')
-rwxr-xr-x | lib/chunks/admin.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/chunks/admin.py b/lib/chunks/admin.py new file mode 100755 index 0000000..06dd917 --- /dev/null +++ b/lib/chunks/admin.py @@ -0,0 +1,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)
\ No newline at end of file |