There are geoip databases you can download or use api services such as:
https://ipgeolocation.io/ to get the information.



On Thu, Dec 16, 2021, 09:08 Amor Zamora <amorza0...@gmail.com> wrote:

> Can you help me?
> I need to obtain the country of where the users access from the IP and
> insert that information into the sqlite3 database.
>
> Little description.
> I have an application that I have to do the statistics and insert into the
> sqlite3 database, the IP information, the country from which it is
> accessed, who generates the information and how many times has clicked on
> the application.
> Question 1 is that I cannot find any suitable module in DJango that allows
> me to combine the information described above.
> I am using. IP_address, os, daemonize and socket and I don't quite realize
> how to get the country from where it is accessed.
> Thanks
>
> --
> Amor Zamora
> Behind the distance,
> your mouth and mine hide,
> complices of a kiss, caresses, fantasies,
> distance as close as the sky and the sea,
> my piece is in your bed, in mine, is your love.
> Behind the distance hide love, memories,
> encounters, experiences, circumstances, pain and good times,
> it is after her, the distant ones,
> that we leave feelings,
> but if we really miss,
> distance,
> it is only your time.
>
> --
> 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
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKMTbHXbM4QFh5kRiShsroObKjefGzvRchX5m3S2ps6M95bwgQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKMTbHXbM4QFh5kRiShsroObKjefGzvRchX5m3S2ps6M95bwgQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAODHeFTAJsGwCe5FeAYXpYPA%3DRnMJUkbMXTQjSYb2oRpH2L%2B0w%40mail.gmail.com.

Reply via email to