Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add city and country data to logs. #8

Open
lingster opened this issue Mar 10, 2020 · 2 comments
Open

Add city and country data to logs. #8

lingster opened this issue Mar 10, 2020 · 2 comments

Comments

@lingster
Copy link
Owner

see: aschn/drf-tracking#136

@anatolzak
Copy link
Contributor

created this pull request where city and country data are added to logs #38

@anatolzak
Copy link
Contributor

From Django Geolocation with GeoIP2

Instructions on how to enable location logging

In order to perform IP-based geolocation, the GeoIP2 object requires the GeoIP Country and/or City datasets in binary format (the CSV files will not work!). Grab the GeoLite2-Country.mmdb.gz and GeoLite2-City.mmdb.gz files and unzip them in a directory corresponding to the GEOIP_PATH setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants