diff options
Diffstat (limited to 'app/lttr/urls.py')
-rw-r--r-- | app/lttr/urls.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/lttr/urls.py b/app/lttr/urls.py index 9186ed1..b470431 100644 --- a/app/lttr/urls.py +++ b/app/lttr/urls.py @@ -6,32 +6,32 @@ app_name = "lttr" urlpatterns = [ path( - r'<str:slug>/feed.xml', + r'feed.xml', views.NewsletterRSSFeedView(), name="feed" ), path( - '<str:slug>/unsubscribe/<str:activation_code>', + 'unsubscribe/<str:activation_code>', views.UnsubscribeRequestView.as_view(), name='newsletter_unsubscribe' ), path( - r'<str:slug>/<int:issue>/<str:mailing>', + r'<int:issue>/<str:mailing>', views.NewsletterMailingDetail.as_view(), name="detail" ), path( - r'<str:slug>/subscribe', + r'subscribe', views.NewsletterSubscribeView.as_view(), name="subscribe" ), path( - r'<str:slug>/<int:page>', + r'<int:page>', views.NewsletterListView.as_view(), name="list" ), path( - '<str:slug>/activate/<str:activation_code>/', + 'activate/<str:activation_code>/', views.ConfirmSubscriptionView.as_view(), name='newsletter_activate' ), path( @@ -40,7 +40,7 @@ urlpatterns = [ name="subscribed" ), path( - r'<str:slug>/', + r'', views.NewsletterListView.as_view(), {'page': 1}, name="list" |