GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Parisson/django-unique-session: unique session backend for Django

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
unique_session
unique_session
 
 
AUTHORS
AUTHORS
 
 
CHANGELOG
CHANGELOG
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.rst
README.rst
 
 
__init__.py
__init__.py
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

django-unique-session : unique session backend for Django

Key features

  • Ensure only one open session per user
  • Extends the standard Django database session backend
  • Automatically logout previously existing sessions
  • Optionally enforce a timeout before allowing a new login
  • Works with Django 1.4+

How to use

  1. Add unique_session in INSTALLED_APPS.
  2. Use SESSION_ENGINE = "unique_session.backends.session_backend"
  3. (Optional) Add "UNIQUE_SESSION_BLOCK_TIME = <seconds>" to enable the timeout.
  4. (Optional) Add "UNIQUE_SESSION_WHITELIST = (<uid1>, <uid2>,...)" to whitelist some users (from their numeric id) so that they'll be exempt to the blocking mechanism.
  5. Run syncdb.

License

GPLv3

About

unique session backend for Django

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.