Skip to content

Unauthorized while trying to translate a field #406

Answered by tombreit
tombreit asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for the noise - this issue was caused by my root rest_framework settings:

# project settings.py

REST_FRAMEWORK = {
    ...
    'DEFAULT_AUTHENTICATION_CLASSES': [
         'rest_framework.authentication.TokenAuthentication',
    ]
}

After moving/deleting this setting fields could be translated again.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kaedroho
Comment options

Answer selected by tombreit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants