Re: Tracking IP

2020-01-21 Thread maninder singh Kumar
You could request.hostname or request.path to get to the names. [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Tue, Jan 21, 2020 at 5:27 PM Soumen Khatua wrote: > Hi Folks, > > In my Django application I want to sh

Re: Tracking IP

2020-01-21 Thread Soumen Khatua
ok On Tue, Jan 21, 2020 at 11:19 PM Kasper Laudrup wrote: > Hi, > > On 21/01/2020 13.34, Roger Gammans wrote: > > Hi > > > > The precise details of this depend on your hosting environment, but the > > canonical method is request.get_host() ; see > > > https://docs.djangoproject.com/en/3.0/ref/r

Re: Tracking IP

2020-01-21 Thread Kasper Laudrup
Hi, On 21/01/2020 13.34, Roger Gammans wrote: Hi The precise details of this depend on your hosting environment, but the canonical method is request.get_host() ; see https://docs.djangoproject.com/en/3.0/ref/request-response/#django.http.HttpRequest.get_host If your hosting environment is n

Re: Tracking IP

2020-01-21 Thread Roger Gammans
Hi The precise details of this depend on your hosting environment, but the canonical method is request.get_host() ; see https://docs.djangoproject.com/en/3.0/ref/request-response/#django.http.HttpRequest.get_host If your hosting environment is non-standard; you might need some custom middlewar

Re: Tracking IP

2020-01-21 Thread Soumen Khatua
I want to show the users/clients IP address On Tue, Jan 21, 2020 at 5:29 PM bharat pamnani wrote: > hostname -I will give you the ip of user. > > On Tue, Jan 21, 2020 at 5:27 PM Soumen Khatua > wrote: > >> Hi Folks, >> >> In my Django application I want to show IP address of users, Just like

Re: Tracking IP

2020-01-21 Thread bharat pamnani
hostname -I will give you the ip of user. On Tue, Jan 21, 2020 at 5:27 PM Soumen Khatua wrote: > Hi Folks, > > In my Django application I want to show IP address of users, Just like > others financial websites. How I can do that using Django(of course it's > should be free cost). > > Thank You i

Tracking IP

2020-01-21 Thread Soumen Khatua
Hi Folks, In my Django application I want to show IP address of users, Just like others financial websites. How I can do that using Django(of course it's should be free cost). Thank You in advance Regards, Soumen -- You received this message because you are subscribed to the Google Groups "Dj