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