Files @ 789d0c8c843a
Branch filter:

Location: website/conservancy/contacts/urls.py

bsturmfels
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.
1
2
3
4
5
6
7
from django.urls import path

from .views import unsubscribe

urlpatterns = [
    path('unsubscribe/', unsubscribe),
]