from django.urls import path, re_path from . import views app_name = "lttr" urlpatterns = [ path( '/unsubscribe/', views.UnsubscribeRequestView.as_view(), name='newsletter_unsubscribe' ), path( r'/subscribe/', views.NewsletterSubscribeView.as_view(), name="subscribe" ), path( '/activate//', views.ConfirmSubscriptionView.as_view(), name='newsletter_activate' ), path( r'subscribed/', views.NewsletterSubscribedView.as_view(), name="subscribed" ), ]