small fix

This commit is contained in:
Anatoly 2019-10-17 13:47:59 +03:00
parent 26ff9963d8
commit 0c2b657244

View File

@ -211,8 +211,8 @@ REST_FRAMEWORK = {
'COERCE_DECIMAL_TO_STRING': False,
'DEFAULT_AUTHENTICATION_CLASSES': (
# JWT
'utils.authentication.GMJWTAuthentication',
'rest_framework.authentication.SessionAuthentication',
# 'utils.authentication.GMJWTAuthentication',
),
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
'DEFAULT_VERSION': (AVAILABLE_VERSIONS['current'],),