fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Zmiana omyłkowo wstawionych wcześniej do ścieżki /.txt/ na /media/.
[wolnelektury.git]
/
chunks
/
admin.py
1
from django.contrib import admin
2
3
from chunks.models import Chunk
4
5
6
class ChunkAdmin(admin.ModelAdmin):
7
list_display = ('key',)
8
search_fields = ('key', 'content')
9
10
admin.site.register(Chunk, ChunkAdmin)
11