change api authentication method

prod
Laurent 3 years ago
parent 5986c2b11f
commit 6acd86f21f
  1. 2
      padel/settings.py

@ -115,7 +115,7 @@ REST_FRAMEWORK = {
# Use Django's standard `django.contrib.auth` permissions,
# or allow read-only access for unauthenticated users.
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
'rest_framework.authentication.BasicAuthentication'
]
}

Loading…
Cancel
Save