from django.urls import path from apps.newsletter.views import ConfirmView, SubscribeView urlpatterns = [ path("subscribe/", SubscribeView.as_view(), name="newsletter_subscribe"), path("confirm//", ConfirmView.as_view(), name="newsletter_confirm"), ]