Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Multi token for django rest framework

Using this app user can maintain seperate auth token for each device. Logout form one device will not logout other device. So multiple login is possiable using this app.

Installation

pip install django-multi-token

Settings File

INSTALLED_APPS = [
    ...
    'tokens'
    ...
]
REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': (
        # 'rest_framework.authentication.TokenAuthentication',
        'tokens.models.MultiTokenAuthentication',
    )
}

About

Multi token for django rest framework

Resources

Releases

No releases published

Packages

No packages published

Languages