Multi token for django rest framework
Project description
# multi-token
Multi token for django rest framework
Settings File
-------------
INSTALLED_APPS = ['tokens']
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
# 'rest_framework.authentication.TokenAuthentication',
'tokens.models.MultiTokenAuthentication',
)
}
Multi token for django rest framework
Settings File
-------------
INSTALLED_APPS = ['tokens']
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
# 'rest_framework.authentication.TokenAuthentication',
'tokens.models.MultiTokenAuthentication',
)
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.