fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Django 1.9.
[wolnelektury.git]
/
src
/
infopages
/
admin.py
diff --git
a/src/infopages/admin.py
b/src/infopages/admin.py
index
14a06af
..
67960ae
100644
(file)
--- a/
src/infopages/admin.py
+++ b/
src/infopages/admin.py
@@
-7,6
+7,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')