fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n fix: translated simple_title
[wolnelektury.git]
/
apps
/
sponsors
/
admin.py
diff --git
a/apps/sponsors/admin.py
b/apps/sponsors/admin.py
index
55af9d7
..
897c221
100644
(file)
--- a/
apps/sponsors/admin.py
+++ b/
apps/sponsors/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 django.conf import settings
from django.contrib import admin
from django.conf import settings
@@
-15,7
+19,7
@@
class SponsorAdmin(admin.ModelAdmin):
class SponsorPageAdmin(admin.ModelAdmin):
formfield_overrides = {
fields.JSONField: {'widget': widgets.SponsorPageWidget},
class SponsorPageAdmin(admin.ModelAdmin):
formfield_overrides = {
fields.JSONField: {'widget': widgets.SponsorPageWidget},
- }
+ }
list_display = ('name',)
search_fields = ('name',)
ordering = ('name',)
list_display = ('name',)
search_fields = ('name',)
ordering = ('name',)