From 91a27733f4dcbcc28c07f70fd4326d05f9de7af3 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 29 Mar 2021 22:23:08 -0400 Subject: lttr: fixed a bug in redirect --- app/lttr/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lttr') 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( -- cgit v1.2.3-70-g09d2