Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to log ip addresses in django

from Flask import request
print(request.remote_addr)
# request.remote_addr is the ip address of the user, you can do whatever you
# want with it, i recommend printing it before returning a value.
 
PREVIOUS NEXT
Tagged: #log #ip #addresses #django
ADD COMMENT
Topic
Name
3+9 =