From 8cdf38bb86932f3261cb56725ab2e93295a6f956 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 11 Nov 2020 16:08:21 -0500 Subject: fixed a bug in mailing list views --- app/lttr/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') 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 -- cgit v1.2.3-70-g09d2