from django.urls import path, re_path from . import views app_name = "lttr" urlpatterns = [ path( 'postcardsubscribe', views.PostcardSubscribeView.as_view(), name='postcard_subscribe' ), path( 'postcardthanks', views.PostcardSubscribedView.as_view(), name='postcard_thanks' ), 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" ), ]