1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
5 from django.contrib import admin
7 from modeltranslation.admin import TranslationAdmin
8 from infopages.models import InfoPage
10 class InfoPageAdmin(TranslationAdmin):
11 list_display = ('title', 'slug', 'main_page')
13 admin.site.register(InfoPage, InfoPageAdmin)