Skip to main content

A small example package

Project description

#Single Login

Single login is a Django app that will restrict concurrent login.

Quick start

  1. Add “singlelogin” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'singlelogin',
    ]
    
  2. Add “singlelogin.middleware.OneSessionPerUserMiddleware” to your MIDDLEWARE like this:

    MIDDLEWARE = [
        ...
        'singlelogin.middleware.OneSessionPerUserMiddleware',
    ]
    
  3. Run python manage.py migrate to create the singlelogin models.

  4. That is all.

Project details


Download files

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

Files for django-singlelogin, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django-singlelogin-0.0.3.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page