From f4ba38654bbca972ba4d9c46575ce453d35c5a20 Mon Sep 17 00:00:00 2001 From: SDE Date: Sat, 25 Nov 2023 16:40:07 +0300 Subject: [PATCH] 0.7.81 curtain right rule for mobile into get params --- AuthApp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AuthApp/views.py b/AuthApp/views.py index 9004d1d..7d31b85 100644 --- a/AuthApp/views.py +++ b/AuthApp/views.py @@ -44,7 +44,7 @@ def profile_page_View(request, page_name, id=None): 'page_type': 'profile' } - if request.GET and 'mobile' in request.GET and request.GET['mobile']: + if request.GET and 'mobile' in request.GET and request.GET['mobile'] == 'true': Dict.update({ 'mobile': True })