1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #24122 -- Redirected to translated url after setting language

Thanks gbdlin for the initial patch and Tim Graham for the review.
This commit is contained in:
Claude Paroz
2015-03-12 09:32:29 +01:00
parent a8991b9b9f
commit aa5ab114e3
8 changed files with 71 additions and 3 deletions

View File

@@ -127,7 +127,8 @@ Generic Views
Internationalization
^^^^^^^^^^^^^^^^^^^^
* ...
* The :func:`django.views.i18n.set_language` view now properly redirects to
:ref:`translated URLs <url-internationalization>`, when available.
Management Commands
^^^^^^^^^^^^^^^^^^^