X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/700710d1aa59af7316ba9694711bfca051925677..fd8cd1a9e08a5b31819da53d96a6775d31c20748:/src/messaging/admin.py?ds=inline diff --git a/src/messaging/admin.py b/src/messaging/admin.py index da58b3a53..06ed21202 100644 --- a/src/messaging/admin.py +++ b/src/messaging/admin.py @@ -1,6 +1,6 @@ from django.contrib import admin from django.contrib import messages -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from fnpdjango.actions import export_as_csv_action from . import models @@ -72,7 +72,7 @@ class ContactAdmin(admin.ModelAdmin): search_fields = ['email'] date_hierarchy = 'since' actions = [ - export_as_csv_action(fields=['id', 'email', 'get_level_display', 'since', 'expires_at']), +# export_as_csv_action(fields=['id', 'email', 'get_level_display', 'since', 'expires_at']), export_as_csv_action('Eksport dla PHPList', fields=['email', 'wl_optout_url']) ]