fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Book page fix
[wolnelektury.git]
/
src
/
messaging
/
admin.py
diff --git
a/src/messaging/admin.py
b/src/messaging/admin.py
index
da58b3a
..
06ed212
100644
(file)
--- 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.contrib import admin
from django.contrib import messages
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from fnpdjango.actions import export_as_csv_action
from . import models
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 = [
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'])
]
export_as_csv_action('Eksport dla PHPList', fields=['email', 'wl_optout_url'])
]