fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaning: timezone issues, deprecated urls.py imports, missing notes.
[wolnelektury.git]
/
apps
/
infopages
/
admin.py
diff --git
a/apps/infopages/admin.py
b/apps/infopages/admin.py
index
e5bc93c
..
14a06af
100644
(file)
--- a/
apps/infopages/admin.py
+++ b/
apps/infopages/admin.py
@@
-1,3
+1,7
@@
+# -*- 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 django.contrib import admin
from modeltranslation.admin import TranslationAdmin
@@
-6,4
+10,4
@@
from infopages.models import InfoPage
class InfoPageAdmin(TranslationAdmin):
list_display = ('title', 'slug', 'main_page')
class InfoPageAdmin(TranslationAdmin):
list_display = ('title', 'slug', 'main_page')
-admin.site.register(InfoPage, InfoPageAdmin)
\ No newline at end of file
+admin.site.register(InfoPage, InfoPageAdmin)