Closed fatiharaci closed 7 years ago
Following code on settings and re-entering the password solved the issue:
REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAdminUser',
**'rest_framework.authentication.TokenAuthentication',**
],
'PAGE_SIZE': 10
}