Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4042 Visualizações


import httpagentparser
from itertools import chain

        uid = super(res_users, self).authenticate(db, login, password, user_agent_env)
        ip_address = request.httprequest.environ['REMOTE_ADDR'] <<<  here is the code for ip its working fyn when its http
        agent = request.httprequest.environ.get('HTTP_USER_AGENT')
        agent_details = httpagentparser.detect(agent)

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
4513
7
fev. 24
12249
2
mar. 15
5349
1
nov. 24
1077
0
dez. 22
2175