C2DH / ww1

ww1 exhibition website
2 stars 1 forks source link

Themes are not visible when user is logged in the same browser #121

Closed danieleguido closed 6 years ago

danieleguido commented 6 years ago

Also note that api output is the same

bianchimro commented 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',
    )
}
danieleguido commented 6 years ago

Thanks @bianchimro