Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4034 Zobrazení


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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 15
4504
7
úno 24
12243
2
bře 15
5338
1
lis 24
1071
0
pro 22
2171