X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1f74e9a6dc7dd2303f3271ccf4c7a3eb59e3e27e..968cb1f19a746aed062a8ee64f6d0f0dd5969e23:/apps/sponsors/admin.py diff --git a/apps/sponsors/admin.py b/apps/sponsors/admin.py index f8e280104..897c22159 100644 --- a/apps/sponsors/admin.py +++ b/apps/sponsors/admin.py @@ -19,7 +19,7 @@ class SponsorAdmin(admin.ModelAdmin): class SponsorPageAdmin(admin.ModelAdmin): formfield_overrides = { fields.JSONField: {'widget': widgets.SponsorPageWidget}, - } + } list_display = ('name',) search_fields = ('name',) ordering = ('name',)