diff --git a/AuthApp/js_views.py b/AuthApp/js_views.py index 06ac2cb..835ef48 100644 --- a/AuthApp/js_views.py +++ b/AuthApp/js_views.py @@ -119,7 +119,7 @@ def send_message_ajax(request): tpl = 'forms/f_commercial_offer.html' html = render_to_string(tpl, Dict, request) - JsonResponse({'html': html}, status=400) + return JsonResponse({'html': html}, status=400) Dict = { 'logo': f'{request.scheme}://{sets["domain"]}/static/img/svg/LogoMobile.svg',