fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie API pozwalającego na listowanie i wgrywanie książek.
[wolnelektury.git]
/
apps
/
catalogue
/
admin.py
diff --git
a/apps/catalogue/admin.py
b/apps/catalogue/admin.py
index
2f5d48b
..
9f1770d
100644
(file)
--- a/
apps/catalogue/admin.py
+++ b/
apps/catalogue/admin.py
@@
-6,7
+6,7
@@
from catalogue.models import Tag, Book, Fragment
class TagAdmin(admin.ModelAdmin):
class TagAdmin(admin.ModelAdmin):
- list_display = ('name', 'slug', 'sort_key', 'category', 'has_description',)
+ list_display = ('name', 'slug', 'sort_key', 'category', 'has_description',
'main_page',
)
list_filter = ('category',)
search_fields = ('name',)
ordering = ('name',)
list_filter = ('category',)
search_fields = ('name',)
ordering = ('name',)