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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 825c313d1adf20f6effd213c53f5a7be22ac4ad556a68fb7008592553903aade |
|
MD5 | df0f3c0d582e2f52a833b44c87967610 |
|
BLAKE2b-256 | c2b2021319ba99b039881d547cfed647c5c98f4438917fee1016c354a893aa6c |
Close
Hashes for django_login_history2-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a3411182560330ae568c6483ebc332ffc95cd031aa78088998c8e4a9069e41 |
|
MD5 | ff198377bf8cd06b226f91faf95dbc7f |
|
BLAKE2b-256 | 6559424bc132675c29c1755261fe5344eeb11f7f44a1ffbd78519f61cebc4fe9 |