# django-login-history2
![GitHub License](https://img.shields.io/github/license/riquedev/django-login-history2)
![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)
![Django Version](https://img.shields.io/badge/django-3.2%2B-green)
![Maintenance](https://img.shields.io/maintenance/yes/2023)
**django-login-history2** is an enhanced version of the "[django-login-history](https://github.com/Dolidodzik/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:
```bash
pip install django-login-history2
```
Add 'login_history' to your INSTALLED_APPS in the Django configuration file (settings.py):
```python
INSTALLED_APPS = [
# ...
'django_login_history2',
# ...
]
```
Run migrations to create the required database tables:
```bash
python manage.py migrate
```
## Usage
django-login-history2 is easy to use. It will start automatically recording login history once installed and configured.
Raw data
{
"_id": null,
"home_page": "https://github.com/riquedev/django-login-history2",
"name": "django-login-history2",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "security,django,login,location,session,ip,authenticate",
"author": "Henrique da Silva Santos",
"author_email": "rique_dev@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/39/ae/9df74aa2e5f6b4ec1375fab6a83f140ad8b76f308f3b46d763f8d6f8b011/django_login_history2-0.0.3.tar.gz",
"platform": null,
"description": "# django-login-history2\n\n![GitHub License](https://img.shields.io/github/license/riquedev/django-login-history2)\n![Python Version](https://img.shields.io/badge/python-3.8%2B-blue)\n![Django Version](https://img.shields.io/badge/django-3.2%2B-green)\n![Maintenance](https://img.shields.io/maintenance/yes/2023)\n\n**django-login-history2** is an enhanced version of the \"[django-login-history](https://github.com/Dolidodzik/django-login-history)\" package, \nproviding a simple and effective way to track user login history in a Django project.\n\n## Features\n\n- Everything the previous package did\n- Support maintained\n- We use ipware instead of ipaddress\n\n## Installation\n\nInstall **django-login-history2** using pip:\n\n```bash\npip install django-login-history2\n```\n\nAdd 'login_history' to your INSTALLED_APPS in the Django configuration file (settings.py):\n\n```python\nINSTALLED_APPS = [\n # ...\n 'django_login_history2',\n # ...\n]\n```\n\nRun migrations to create the required database tables:\n\n```bash\npython manage.py migrate\n```\n\n## Usage\ndjango-login-history2 is easy to use. It will start automatically recording login history once installed and configured.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "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",
"version": "0.0.3",
"project_urls": {
"Bug Tracker": "https://github.com/riquedev/django-login-history2/issues",
"Homepage": "https://github.com/riquedev/django-login-history2",
"Repository": "https://github.com/riquedev/django-login-history2"
},
"split_keywords": [
"security",
"django",
"login",
"location",
"session",
"ip",
"authenticate"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8c31f85501305b88516213b65fb76e4fa16002bdcf82827180dc040ca2e70511",
"md5": "c34f253fad475abb342e553045e4749b",
"sha256": "73ddbf9c9c8865d349535acaf6578e670acb1e8c4979f499d10f09f10ed8f67a"
},
"downloads": -1,
"filename": "django_login_history2-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c34f253fad475abb342e553045e4749b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7064,
"upload_time": "2023-12-15T02:28:58",
"upload_time_iso_8601": "2023-12-15T02:28:58.257059Z",
"url": "https://files.pythonhosted.org/packages/8c/31/f85501305b88516213b65fb76e4fa16002bdcf82827180dc040ca2e70511/django_login_history2-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "39ae9df74aa2e5f6b4ec1375fab6a83f140ad8b76f308f3b46d763f8d6f8b011",
"md5": "ced39b434e738097e2ca16b687e3fbfa",
"sha256": "3614a6befad36df3deb897d05deb5fbc858397e092b00e788626a7bf1e5c12b1"
},
"downloads": -1,
"filename": "django_login_history2-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "ced39b434e738097e2ca16b687e3fbfa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 5433,
"upload_time": "2023-12-15T02:28:59",
"upload_time_iso_8601": "2023-12-15T02:28:59.940987Z",
"url": "https://files.pythonhosted.org/packages/39/ae/9df74aa2e5f6b4ec1375fab6a83f140ad8b76f308f3b46d763f8d6f8b011/django_login_history2-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-15 02:28:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "riquedev",
"github_project": "django-login-history2",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "django-login-history2"
}