website/conservancy/contacts/urls.py
Ben Sturmfels 789d0c8c84
contacts: Remove ContactEntry and add Unsubscription
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.
2024-04-09 22:53:24 +10:00

7 lines
119 B
Python

from django.urls import path
from .views import unsubscribe
urlpatterns = [
path('unsubscribe/', unsubscribe),
]