From ab22a3ec889ca1679bc3da950298ef3b6b0bd86b Mon Sep 17 00:00:00 2001 From: SDE Date: Thu, 1 Feb 2024 18:32:29 +0300 Subject: [PATCH] 0.12.6 subscribe mailing --- AuthApp/js_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AuthApp/js_views.py b/AuthApp/js_views.py index eb3526c..387cab5 100644 --- a/AuthApp/js_views.py +++ b/AuthApp/js_views.py @@ -58,9 +58,9 @@ def mailing_subscribe_ajax(request): user = None if user: - redirect_url = {reverse('login_profile')} + redirect_url = f"{reverse('login_profile')}?mailing_for_email={email}" else: - redirect_url = {reverse('registration_page')} + redirect_url = f"{reverse('registration_page')}?mailing_for_email={email}" return JsonResponse({ 'status': 'sended',