I would like to limit the access to myweb/api in django rest framework. I tried: REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', ) }
But it limite all the requests and i want to limit only the access to the myweb/api page
Aucun commentaire:
Enregistrer un commentaire