Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

endless redirect if browser language is not a cms language #1549

Closed
stefanfoulis opened this Issue · 0 comments

1 participant

@stefanfoulis
Owner

This occurs if the Browser Accept-Language is not one of the languages configured for the cms as active language. And djangos get_language_from_request was called previously with something like SettingsOverride (here) where LANGUAGES is overridden with a language we don't want. Django optimises with a cache in a global object that then will return languages actually not in LANGUAGES.

I have a patch. Pull request will follow.

@stefanfoulis stefanfoulis was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.