Scaffold containerized Django/Wagtail app with core features
This commit is contained in:
8
apps/newsletter/urls.py
Normal file
8
apps/newsletter/urls.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.urls import path
|
||||
|
||||
from apps.newsletter.views import ConfirmView, SubscribeView
|
||||
|
||||
urlpatterns = [
|
||||
path("subscribe/", SubscribeView.as_view(), name="newsletter_subscribe"),
|
||||
path("confirm/<str:token>/", ConfirmView.as_view(), name="newsletter_confirm"),
|
||||
]
|
||||
Reference in New Issue
Block a user