summaryrefslogtreecommitdiff
path: root/app/lttr
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-02-05 15:37:32 -0500
committerluxagraf <sng@luxagraf.net>2020-02-05 15:37:32 -0500
commit932a69ba325fab012630313edcfe697e93d340d7 (patch)
tree6c18e12c62eb314116b6025308d003f722294776 /app/lttr
parentbd39940d99265ab83e37427cf80ba8c7a055193a (diff)
added the unsubscribe URL
Diffstat (limited to 'app/lttr')
-rw-r--r--app/lttr/urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/lttr/urls.py b/app/lttr/urls.py
index e0166f1..e7640c7 100644
--- a/app/lttr/urls.py
+++ b/app/lttr/urls.py
@@ -19,6 +19,11 @@ urlpatterns = [
'<str:slug>/activate/<str:activation_code>/',
views.ConfirmSubscriptionView.as_view(), name='newsletter_activate'
),
+ path(
+ '<str:slug>/unsubscribe/',
+ views.UnsubscribeRequestView.as_view(),
+ name='newsletter_unsubscribe_request'
+ ),
#path(
# '/subscribe/confirm/',
# views.SubscribeRequestView.as_view(confirm=True),