fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added short_html method to Book model and removed (no longer used) book template...
[wolnelektury.git]
/
chunks
/
admin.py
diff --git
a/chunks/admin.py
b/chunks/admin.py
index
29c1fc2
..
c44d5a0
100644
(file)
--- a/
chunks/admin.py
+++ b/
chunks/admin.py
@@
-4,8
+4,8
@@
from chunks.models import Chunk
class ChunkAdmin(admin.ModelAdmin):
-
list_display = ('key
',)
-
search_fields = ('key', 'content'
)
+
list_display = ('key', 'description
',)
+
search_fields = ('key', 'content',
)
admin.site.register(Chunk, ChunkAdmin)