be more robust
[wolnelektury.git] / apps / infopages / admin.py
1 from django.contrib import admin
2
3 from modeltranslation.admin import TranslationAdmin
4 from infopages.models import InfoPage
5
6 class InfoPageAdmin(TranslationAdmin):
7     list_display = ('title', 'slug', 'main_page')
8
9 admin.site.register(InfoPage, InfoPageAdmin)