summaryrefslogtreecommitdiff
path: root/app/lttr/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/lttr/views.py')
-rw-r--r--app/lttr/views.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/lttr/views.py b/app/lttr/views.py
index f0f40e7..c6b0434 100644
--- a/app/lttr/views.py
+++ b/app/lttr/views.py
@@ -106,6 +106,10 @@ class UnsubscribeRequestView(DetailView):
return context
+class PostcardSubscribedView(TemplateView):
+ template_name = "lttr/postcard_subscribed.html"
+
+
class PostcardSubscribeView(CreateView):
"""
Return a subscribe form for iframe embedding
@@ -118,5 +122,5 @@ class PostcardSubscribeView(CreateView):
return ["lttr/postcard_subscribe.html",]
def get_success_url(self):
- return reverse_lazy('card:subscribed')
+ return reverse_lazy('lttr:postcard_thanks')