django-session-activity
List all active sessions and sign-out from all sessions opened on other computers.
Developed at en.ig.ma software shop.
Overview
This app records and shows last session activity and allows users to sign-out from all active sessions, even remote ones.
In other words, it handles the following use case:
You come back home and realize that you forgot to log out on your work/university/other remote computer. What now?
You take a look at the recent active sessions for your account and click a single button to deactivate all sessions opened on other computers.
Documentation
The full documentation is at http://django-session-activity.rtfd.org.
Quickstart
Include django-session-activity in your requirements.txt file.
Add session_activity to INSTALLED_APPS and migrate/syncdb.
Add session_activity.middleware.SessionActivity to MIDDLEWARE_CLASSES after the django.contrib.sessions.middleware.SessionActivityMiddleware and django.contrib.auth.middleware.AuthenticationMiddleware middleware classes.
Add url config for session list and sign-out views:
url(r'^sessions/', include('session_activity.urls')),Then link to the main view using {% url "session_activity_list" %} template tag.
Optionally copy & modify the session_list.html template to match your look and feel expectations.
Dependencies
django-session-activity depends on django>=1.5.0, django-appconf>=0.6 and python-dateutil.
License
django-session-activity is released under the MIT license.
Other Resources
GitHub repository - https://github.com/nigma/django-session-activity
PyPi Package site - http://pypi.python.org/pypi/django-session-activity
History
0.1.0 (2014-01-23)
First release
Metadata
Release files for django-session-activity 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-session-activity-0.1.0.zip | 16.4 kB | Without provenance | Details for django-session-activity-0.1.0.zip |
Release files / django-session-activity-0.1.0.zip
| Download URL | django-session-activity-0.1.0.zip |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
348d66491f9f4ee2c35477fee91b5650fc5050727c5b774685dec1e1b72e91fb
|
|
BLAKE2b-256 checksum How to use checksums |
99f4a3665713c399702238ed81a0b3400ed6fff49005dd996ec30612d6de1ed7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-session-activity 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.