diff --git a/test_server/server/settings.py b/test_server/server/settings.py index 5064bf0..fda23b2 100644 --- a/test_server/server/settings.py +++ b/test_server/server/settings.py @@ -143,9 +143,9 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'dist/static') REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': [ + 'crm.authentication.MyTokenAuthentication', 'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.SessionAuthentication', - 'crm.authentication.MyTokenAuthentication' ], 'DEFAULT_PERMISSION_CLASSES':[ 'crm.permission.MyPermission'