'Logging user's device details in DJango admin

How to log the login user's device, os, ipaddress, location etc. in Django?

  1. Is there any library available for this?


Solution 1:[1]

Sure there is. Try Django axes (https://github.com/jazzband/django-axes). With this, you can:

  1. See logs of every login from Django admin panel (Axes logs)
  2. You can control user login failure and much more.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mnislam01