From: Marek Stępniowski Date: Thu, 11 Sep 2008 17:09:43 +0000 (+0200) Subject: Added main_page to list display of Tag models. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/9961ccc893b09baba047180f899aff4b8aa3972a?ds=inline Added main_page to list display of Tag models. --- diff --git a/apps/catalogue/admin.py b/apps/catalogue/admin.py index 2f5d48ba2..9f1770d95 100644 --- 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): - 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',)