diff options
author | luxagraf <sng@luxagraf.net> | 2012-09-22 22:27:04 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2012-09-22 22:27:04 -0400 |
commit | efb623af0bcb47d510501c282e1326b11343a29c (patch) | |
tree | 3a35fb19f5eba3b219c65277a5fb712cbe9604ac /app/lib/chunks/admin.py | |
parent | 0b481fd7931c2ae20ca21f89a87f2ba6a6c01e10 (diff) |
site reorg
Diffstat (limited to 'app/lib/chunks/admin.py')
-rwxr-xr-x | app/lib/chunks/admin.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/lib/chunks/admin.py b/app/lib/chunks/admin.py new file mode 100755 index 0000000..06dd917 --- /dev/null +++ b/app/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 |