0.12.11 del mobile markers for response

This commit is contained in:
SDE
2024-01-31 13:44:08 +03:00
parent 649dbab901
commit 93717bee2d
3 changed files with 8 additions and 5 deletions

View File

@@ -54,10 +54,10 @@ def profile_page_View(request, page_name, id=None):
}
})
if request.GET and 'mobile' in request.GET and request.GET['mobile'] == 'true':
Dict.update({
'mobile': True
})
# if request.GET and 'mobile' in request.GET and request.GET['mobile'] == 'true':
# Dict.update({
# 'mobile': True
# })
t = loader.get_template('pages/profile/p_user_profile.html')
return get_inter_http_respose(t, Dict, request)

View File

@@ -404,7 +404,7 @@ def support_show_chat_by_ticket_ajax(request):
'cur_receiver': cur_receiver,
'new_msg_allow': new_msg_allow,
'staff': request.user.is_staff,
'mobile': data['mobile']
# 'mobile': data['mobile']
}
Dict.update(get_ticketsDict_for_staff(request.user))

View File

@@ -45,7 +45,10 @@ ACCOUNT_USERNAME_REQUIRED = False
ACCOUNT_AUTHENTICATION_METHOD = 'email'
ACCOUNT_EMAIL_VERIFICATION = 'optional'
LOGIN_REDIRECT_URL = '/profile/page/dashboard/'
LOGIN_URL = '/profile/login/'
LOGOUT_REDIRECT_URL = '/profile/login/'
ACCOUNT_SIGNUP_REDIRECT_URL = '/profile/page/dashboard/'
ACCOUNT_LOGOUT_ON_GET = True
# SOCIALACCOUNT_ADAPTER = 'GeneralApp.allauth_funcs.MyAccountAdapter'