X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/357027375ff8867f42ca34bcbfb5a78b5b185fc3..c36c3891e56611e2ad4c518daa46b8cc3f28188e:/src/infopages/admin.py diff --git a/src/infopages/admin.py b/src/infopages/admin.py index 14a06afa9..b8001a625 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') admin.site.register(InfoPage, InfoPageAdmin)