fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85b45a7
)
Added main_page to list display of Tag models.
author
Marek Stępniowski
<marek@stepniowski.com>
Thu, 11 Sep 2008 17:09:43 +0000
(19:09 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Thu, 11 Sep 2008 17:09:43 +0000
(19:09 +0200)
apps/catalogue/admin.py
patch
|
blob
|
history
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',)