Ver código fonte

Auth is jamming up the works right now

Colin Powell 2 anos atrás
pai
commit
1476fe37ca
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      vrobbler/settings.py

+ 2 - 2
vrobbler/settings.py

@@ -159,8 +159,8 @@ AUTHENTICATION_BACKENDS = [
 REST_FRAMEWORK = {
     "DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.AllowAny",),
     'DEFAULT_AUTHENTICATION_CLASSES': [
-        'rest_framework.authentication.BasicAuthentication',
-        'rest_framework.authentication.TokenAuthentication',
+        #'rest_framework.authentication.BasicAuthentication',
+        #'rest_framework.authentication.TokenAuthentication',
         'rest_framework.authentication.SessionAuthentication',
     ],
     "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",