contacts: Allow unsubscribes to be actioned from list view
This commit is contained in:
parent
45fd0c4f5e
commit
882d578e46
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ from .models import Unsubscription
|
||||||
|
|
||||||
@admin.register(Unsubscription)
|
@admin.register(Unsubscription)
|
||||||
class UnsubscriptionAdmin(admin.ModelAdmin):
|
class UnsubscriptionAdmin(admin.ModelAdmin):
|
||||||
list_display = ['created', 'email', 'mailout']
|
list_display = ['created', 'email', 'mailout', 'actioned']
|
||||||
|
list_editable = ['actioned']
|
||||||
list_filter = ['mailout', 'actioned']
|
list_filter = ['mailout', 'actioned']
|
||||||
search_fields = ['email', 'mailout']
|
search_fields = ['email', 'mailout']
|
||||||
|
|
Loading…
Reference in a new issue