Skip to Content
Menu
This question has been flagged
4114 Rodiniai


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)

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 15
4603
7
vas. 24
12324
2
kov. 15
5423
1
lapkr. 24
1163
0
gruod. 22
2226