跳至内容
菜单
此问题已终结


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)

形象
丢弃
相关帖文 回复 查看 活动
0
3月 15
4520
7
2月 24
12252
2
3月 15
5354
1
11月 24
1083
0
12月 22
2178