X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9e621499c65fcb873d2963c7da13be76d6aff825..df60910b2d457f031cbe0a153e51e7378c0165d8:/src/funding/admin.py diff --git a/src/funding/admin.py b/src/funding/admin.py index 3e981d8a5..f2b1020a4 100644 --- a/src/funding/admin.py +++ b/src/funding/admin.py @@ -62,7 +62,13 @@ class FundingAdmin(admin.ModelAdmin): list_display = ['payed_at', 'offer', 'amount', 'name', 'email', 'perk_names'] search_fields = ['name', 'email', 'offer__title', 'offer__author'] list_filter = [PayedFilter, 'offer', PerksFilter] - actions = [export_as_csv_action()] + search_fields = ['user'] + actions = [export_as_csv_action( + fields=[ + 'id', 'offer', 'name', 'email', 'amount', 'payed_at', + 'notifications', 'notify_key', 'wl_optout_url' + ] + )] class SpentAdmin(admin.ModelAdmin):