标签: python flask
This question answers how to find the IP of your visitors in Flask. The code works. However, request.remote_addr seems to be absent from the Flask documentation. Why is this?
request.remote_addr
答案 0 :(得分:4)
因为Request对象来自Werkzeug, documented。 Flask的文档只是复制了一些比较常用的信息,但它们也直接链接到Werkzeug文档。
Request