Skip to main 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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_login_history2-0.0.4.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

django_login_history2-0.0.4-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page