From 2034e81d72872e673c2ee733b09542c717a7a266 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 26 Feb 2020 11:13:28 +0100 Subject: [PATCH] Admin fix. --- src/club/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.20.1