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 })