A small example package
Project description
#Single Login
Single login is a Django app that will restrict concurrent login.
Quick start
Add “singlelogin” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'singlelogin', ]
Add “singlelogin.middleware.OneSessionPerUserMiddleware” to your MIDDLEWARE like this:
MIDDLEWARE = [ ... 'singlelogin.middleware.OneSessionPerUserMiddleware', ]
Run python manage.py migrate to create the singlelogin models.
That is all.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.