diff options
author | luxagraf <sng@luxagraf> | 2021-03-29 22:23:08 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-03-29 22:23:08 -0400 |
commit | 91a27733f4dcbcc28c07f70fd4326d05f9de7af3 (patch) | |
tree | 33e70e6899a82b91672e2e8176049205089a706a /app/lttr/views.py | |
parent | 5b86e4c986b39bc1027d371e9c108fa30ef3f052 (diff) |
lttr: fixed a bug in redirect
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 7f094c6..3980fd4 100644 --- a/app/lttr/views.py +++ b/app/lttr/views.py @@ -67,7 +67,7 @@ class NewsletterSubscribeView(CreateView): return kwargs def get_success_url(self): - return reverse_lazy('lttr:subscribed', kwargs={'slug':self.slug}) + return reverse_lazy('lttr:subscribed') def form_valid(self, form, **kwargs): form.instance.user, created = get_user_model().objects.get_or_create( |