summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/lttr/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lttr/views.py b/app/lttr/views.py
index 2573334..6df3fdc 100644
--- a/app/lttr/views.py
+++ b/app/lttr/views.py
@@ -101,8 +101,8 @@ class NewsletterSubscribeView(CreateView):
# Although form was valid there was error while sending email,
# so stay at the same url.
- return super(NewsletterListView, self).form_invalid(form)
- return super(NewsletterListView, self).form_valid(form)
+ return super(NewsletterSubscribeView, self).form_invalid(form)
+ return super(NewsletterSubscribeView, self).form_valid(form)
class UnsubscribeRequestView(DetailView):
model = Subscriber