`set_language` view documentation improvements
- I've seen people get confused by including the
set_language
URL within their i18n_patterns
and wondering why it doesn't work (the form POST
turns into a redirected GET
request which fails); we should probably add a warning to ensure that this URL is locale-independent
- Why do we have a hardcoded URL as the form
action
? This should be reversed instead, and possibly have a name added to the URL.
Happy to tackle/commit this, just wanted to make sure I wasn't missing anything.
Change History
(4)
Triage Stage: |
Unreviewed → Accepted
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Both issues are valid, I'd suggest to open a separate ticket for the hardcoded URL though.