diff options
Diffstat (limited to 'app/lttr/urls.py')
-rw-r--r-- | app/lttr/urls.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/lttr/urls.py b/app/lttr/urls.py index 05febe3..f103cec 100644 --- a/app/lttr/urls.py +++ b/app/lttr/urls.py @@ -6,6 +6,11 @@ app_name = "lttr" urlpatterns = [ path( + '<str:slug>/unsubscribe/<str:activation_code>', + views.UnsubscribeRequestView.as_view(), + name='newsletter_unsubscribe' + ), + path( r'<str:slug>/<int:issue>/<str:mailing>', views.NewsletterMailingDetail.as_view(), name="detail" @@ -19,11 +24,6 @@ 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), |