Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

List all active sessions and sign-out from all sessions opened on other computers

Project Description

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

  1. Include django-session-activity in your requirements.txt file.

  2. Add session_activity to INSTALLED_APPS and migrate/syncdb.

  3. Add session_activity.middleware.SessionActivity to MIDDLEWARE_CLASSES after the django.contrib.sessions.middleware.SessionActivityMiddleware and django.contrib.auth.middleware.AuthenticationMiddleware middleware classes.

  4. 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.

  5. 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.

History

0.1.0 (2014-01-23)

  • First release
Release History

Release History

This version
History Node

0.1.0

History Node

0.1.0.dev1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-session-activity-0.1.0.zip (16.4 kB) Copy SHA256 Checksum SHA256 Source Jan 23, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting