Skip to content

It's easy to use, plug-in django app that once included, stores logins history (with device data, like IP, user-agent, location etc.) of all users

License

Notifications You must be signed in to change notification settings

riquedev/django-login-history2

Repository files navigation

django-login-history2

GitHub License Python Version Django Version Maintenance

django-login-history2 is an enhanced version of the "django-login-history" package, providing a simple and effective way to track user login history in a Django project.

Features

  • Everything the previous package did
  • Support maintained
  • We use ipware instead of ipaddress

Installation

Install django-login-history2 using pip:

pip install django-login-history2

Add 'login_history' to your INSTALLED_APPS in the Django configuration file (settings.py):

INSTALLED_APPS = [
    # ...
    'django_login_history2',
    # ...
]

Run migrations to create the required database tables:

python manage.py migrate

Usage

django-login-history2 is easy to use. It will start automatically recording login history once installed and configured.

About

It's easy to use, plug-in django app that once included, stores logins history (with device data, like IP, user-agent, location etc.) of all users

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages