fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Moved catalogue, chunks, compress, newtagging and pagination applications to apps...
[wolnelektury.git]
/
apps
/
chunks
/
admin.py
diff --git a/apps/chunks/admin.py
b/apps/chunks/admin.py
new file mode 100644
(file)
index 0000000..
c44d5a0
--- /dev/null
+++ b/
apps/chunks/admin.py
@@ -0,0
+1,11
@@
+from django.contrib import admin
+
+from chunks.models import Chunk
+
+
+class ChunkAdmin(admin.ModelAdmin):
+ list_display = ('key', 'description',)
+ search_fields = ('key', 'content',)
+
+admin.site.register(Chunk, ChunkAdmin)
+