Merge lp:~maxiberta/canonical-identity-provider/fix-set-language into lp:canonical-identity-provider/release
Status: | Merged |
---|---|
Approved by: | Maximiliano Bertacchini |
Approved revision: | no longer in the source branch. |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | lp:~maxiberta/canonical-identity-provider/fix-set-language |
Merge into: | lp:canonical-identity-provider/release |
Diff against target: |
104 lines (+15/-12) 4 files modified
src/identityprovider/middleware/useraccount.py (+2/-1) src/identityprovider/tests/test_views_server.py (+8/-10) src/identityprovider/views/server.py (+1/-1) src/webui/tests/test_views_ui.py (+4/-0) |
To merge this branch: | bzr merge lp:~maxiberta/canonical-identity-provider/fix-set-language |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+354487@code.launchpad.net |
Commit message
Fix explicitly setting the active language.
Description of the change
Set the active language in the session as described in Django docs (https:/
Curiously, two tests were explicitly validating the current (wrong) behaviour. Some archaeology:
- webui.tests.
- identityprovide
WOw, thanks! LGTM.