X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..0bd2f26c7d4a349bf9ae9377a945baf39d28af00:/apps/infopages/admin.py diff --git a/apps/infopages/admin.py b/apps/infopages/admin.py index 66f2996c5..14a06afa9 100644 --- a/apps/infopages/admin.py +++ b/apps/infopages/admin.py @@ -1,9 +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. +# from django.contrib import admin from modeltranslation.admin import TranslationAdmin from infopages.models import InfoPage class InfoPageAdmin(TranslationAdmin): - list_display = ('title',) + list_display = ('title', 'slug', 'main_page') -admin.site.register(InfoPage, InfoPageAdmin) \ No newline at end of file +admin.site.register(InfoPage, InfoPageAdmin)