We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using account_settings to save changes for a user -- e.g. language -- it's getting updated in database, but does not update the users's session
I think it should upgrade the language for the user to the just picked one
I did a q'n'dirty fix for my project by little updating the original one
class SettingsView(account.views.SettingsView): template_name = "user_home.html" def form_valid(self, form): response = super().form_valid(form) lang = form.cleaned_data["language"] translation.activate(lang) response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lang) return response
The text was updated successfully, but these errors were encountered:
I'd merge a PR that fixes this as long as it includes tests.
Sorry, something went wrong.
No branches or pull requests
When using account_settings to save changes for a user -- e.g. language -- it's getting updated in database, but does not update the users's session
I think it should upgrade the language for the user to the just picked one
I did a q'n'dirty fix for my project by little updating the original one
The text was updated successfully, but these errors were encountered: