X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..b8e94e0e7cc7576cbaacd3c737d6ffca6b12db53:/apps/infopages/admin.py?ds=sidebyside 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)