From: Radek Czajka Date: Wed, 26 Feb 2020 10:13:28 +0000 (+0100) Subject: Admin fix. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/2034e81d72872e673c2ee733b09542c717a7a266?ds=inline Admin fix. --- diff --git a/src/club/admin.py b/src/club/admin.py index e0beaeada..24884f160 100644 --- a/src/club/admin.py +++ b/src/club/admin.py @@ -39,7 +39,7 @@ class PayUCardTokenInline(admin.TabularInline): class ScheduleAdmin(admin.ModelAdmin): list_display = ['email', 'started_at', 'payed_at', 'expires_at', 'amount', 'monthly', 'yearly', 'is_cancelled'] - list_search = ['email'] + search_fields = ['email'] list_filter = ['is_cancelled'] date_hierarchy = 'started_at' raw_id_fields = ['membership']