aschn / drf-tracking

Utils to track requests to Django Rest Framework API views
http://drf-tracking.readthedocs.org/
ISC License
366 stars 95 forks source link

Add city & country data to the log #136

Open Krisnadi opened 5 years ago

Krisnadi commented 5 years ago

Can I make an enhancement to this package by adding more information to the request log such as city & country by the requester IP address? I'm going to integrate it with GeoIP.

lingster commented 4 years ago

@Krisnadi this looks like a good idea. From the django docs it does say that GeoIP is deprecated in favor of GeoIP2. Have you started on this or is there a PR?