X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/67df302167539474edd02b57c2e8bd30349d7625..bf3f18ce9313f4929ff327fbf12803157de171cb:/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)