Ben Sturmfels
789d0c8c84
This change removes the unused `ContactEntry` model and the `subscribe` view and replaces it with an `Unsubscription` model and an `unsubscribe` view. It works similarly, but is intended to be used with the `list-unsubscribe` and `list-unsubscribe-post` headers.
8 lines
188 B
Python
8 lines
188 B
Python
from django.contrib import admin
|
|
|
|
from .models import Unsubscription
|
|
|
|
|
|
@admin.register(Unsubscription)
|
|
class UnsubscriptionAdmin(admin.ModelAdmin):
|
|
list_display = ['created', 'email']
|