X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..ce097db0af8c96297501b569ec49477b76c1ceec:/src/infopages/admin.py?ds=inline diff --git a/src/infopages/admin.py b/src/infopages/admin.py index 14a06afa9..e681445a3 100644 --- a/src/infopages/admin.py +++ b/src/infopages/admin.py @@ -1,13 +1,13 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Wolne Lektury. See NOTICE for more information. # from django.contrib import admin from modeltranslation.admin import TranslationAdmin from infopages.models import InfoPage + class InfoPageAdmin(TranslationAdmin): - list_display = ('title', 'slug', 'main_page') + list_display = ('title', 'slug', 'published', 'findable') admin.site.register(InfoPage, InfoPageAdmin)