Closed danieleguido closed 6 years ago
hi @danieleguido I think this depends on being logged on the miller admin You could probably fix it by removing the 'rest_framework.authentication.SessionAuthentication' class from rest framework settings:
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
...
'rest_framework.authentication.SessionAuthentication',
)
}
Thanks @bianchimro
Also note that api output is the same