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
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
Built Distribution
Close
Hashes for django_login_history2-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9885e06470405693f985923afa0eedf13ce2600661d1c2efde1408371eb5992 |
|
MD5 | 20ff2bf7e53a13d75eac3c18264bc769 |
|
BLAKE2b-256 | 1c5c53b366ae7c1f0d1fdcc17c44e383a88fadd502757fb0a03283c0d29c975b |
Close
Hashes for django_login_history2-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73fa5c941af3dd09a319ced12bb52f4c33a117a02a9d15e59c7e404a744426e |
|
MD5 | 701fd0b86b8d89fd62159702554d3a19 |
|
BLAKE2b-256 | bf128b87e867543bfdbea52696ecb6fb2d2f9661d8b43ebbf85b542fcad8f231 |