change api authentication method #2

prod
Laurent 3 years ago
parent 6acd86f21f
commit 90d2e9e916
  1. 1
      padel/settings.py

@ -115,6 +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