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.
Source Distribution
File details
Details for the file django-singlelogin-0.0.3.tar.gz
.
File metadata
- Download URL: django-singlelogin-0.0.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93bb884d1450b5c65626e409ae9dabf92cddf5e16a93a8f26f92a420ea5e9466 |
|
MD5 | 4a664a8ae50b753c2eb6bb1091dc758c |
|
BLAKE2b-256 | 6bea643e7cd81253eec581c98eca60ba3a8e1cd1a5a0b97f261225871e6e7db9 |