X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a409c6cc6901eea44c2cbe3a49038eb21f2db18d..757184740a6c0b3fbb4c20157cc124651caab017:/src/club/admin.py diff --git a/src/club/admin.py b/src/club/admin.py index 0cf7d342c..0a23c20cf 100644 --- a/src/club/admin.py +++ b/src/club/admin.py @@ -57,7 +57,7 @@ class ExpiredFilter(YesNoFilter): class ScheduleAdmin(admin.ModelAdmin): list_display = ['email', 'started_at', 'payed_at', 'expires_at', 'amount', 'monthly', 'yearly', 'is_cancelled'] search_fields = ['email'] - list_filter = ['is_cancelled', 'monthly', 'yearly', PayedFilter, ExpiredFilter] + list_filter = ['is_cancelled', 'monthly', 'yearly', PayedFilter, ExpiredFilter, 'source'] date_hierarchy = 'started_at' raw_id_fields = ['membership'] inlines = [PayUOrderInline, PayUCardTokenInline]