diff options
author | luxagraf <sng@luxagraf> | 2021-01-30 09:45:14 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-01-30 09:45:14 -0500 |
commit | d4b9ac9de532cd8a139e7cab22d6137de4ccae7d (patch) | |
tree | 34a53e7f3a1737aefdf18f957cfe8746e0b38cd5 /app/lttr/views.py | |
parent | dc6802d6e94f7ec9e9924072cc48714b4cb25f18 (diff) |
lttr: Cleaned up template code and fixed some bugs with multiple
newsletter subscriptions.
Diffstat (limited to 'app/lttr/views.py')
-rw-r--r-- | app/lttr/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lttr/views.py b/app/lttr/views.py index 9b739a1..7a8b596 100644 --- a/app/lttr/views.py +++ b/app/lttr/views.py @@ -86,7 +86,7 @@ class NewsletterSubscribeView(CreateView): def get_template_names(self): - return "lttr/%s_subscribe.html" % self.kwargs['slug'] + return ["lttr/%s_subscribe.html" % self.kwargs['slug'], 'lttr/subscribe.html'] def get_form_kwargs(self): kwargs = super(NewsletterSubscribeView, self).get_form_kwargs() |