Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
4051 Visualizzazioni


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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4522
7
feb 24
12253
2
mar 15
5355
1
nov 24
1088
0
dic 22
2178