Re: capture client side location in Django

2020-09-25 Thread Salima Begum
Hi all, I tried use https://docs.djangoproject.com/en/3.1/ref/contrib/gis/geoip2/ and This particular package requires GeoLite2-Country.mmdb.gz GeoLite2-City.mmdb.gz These databases are not free. We are looking for an open source API or package for our web application. I appreciate if someone can

Re: capture client side location in Django

2020-09-25 Thread Kasper Laudrup
On 25/09/2020 06.10, Stats Student wrote: You can read the client's IP address with - request.META['REMOTE_ADDR'] -- ( not sure how it handles proxies, etc ) Proxies should set the X-Forwarded-For header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For the value o

Re: capture client side location in Django

2020-09-24 Thread Stats Student
ote: > > Hi all, > > How to capture client side location in django can any one help to achieve > this? > > > Thank you > ~Salima > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

capture client side location in Django

2020-09-24 Thread Salima Begum
Hi all, How to capture client side location in django can any one help to achieve this? Thank you ~Salima -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an