fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Layout: forms.
[wolnelektury.git]
/
src
/
infopages
/
admin.py
diff --git
a/src/infopages/admin.py
b/src/infopages/admin.py
index
14a06af
..
d2f5fb0
100644
(file)
--- a/
src/infopages/admin.py
+++ b/
src/infopages/admin.py
@@
-1,4
+1,3
@@
-# -*- 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.
#
# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
@@
-7,6
+6,7
@@
from django.contrib import admin
from modeltranslation.admin import TranslationAdmin
from infopages.models import InfoPage
from modeltranslation.admin import TranslationAdmin
from infopages.models import InfoPage
+
class InfoPageAdmin(TranslationAdmin):
list_display = ('title', 'slug', 'main_page')
class InfoPageAdmin(TranslationAdmin):
list_display = ('title', 'slug', 'main_page')