コンテンツへスキップ
メニュー
この質問にフラグが付けられました
4057 ビュー


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
4531
7
2月 24
12254
2
3月 15
5365
1
11月 24
1092
0
12月 22
2183