diff options
author | luxagraf <sng@luxagraf.net> | 2020-11-11 16:08:21 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2020-11-11 16:08:21 -0500 |
commit | 8cdf38bb86932f3261cb56725ab2e93295a6f956 (patch) | |
tree | 535a31d33f1e041c1daa03c5439ec3f45b9f6ab4 /app/lttr/views.py | |
parent | c077fd41ab9f17afffadc515bb784c342e7ae440 (diff) |
fixed a bug in mailing list views
Diffstat (limited to 'app/lttr/views.py')
-rw-r--r-- | app/lttr/views.py | 4 |
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 |