mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used.
Regression in94e7f471c4. This reverts commit94e7f471c4(refs #34069) and partly reverts commit3b4728310a. Thanks Anthony Baillard for the report. Co-Authored-By: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
This commit is contained in:
@@ -31,6 +31,11 @@ Bugfixes
|
||||
``prefix_default_language`` argument when a fallback language of the default
|
||||
language was used (:ticket:`34455`).
|
||||
|
||||
* Fixed a regression in Django 4.2 where translated URLs of the default
|
||||
language from ``i18n_patterns()`` with ``prefix_default_language`` set to
|
||||
``False`` raised 404 errors for a request with a different language
|
||||
(:ticket:`34515`).
|
||||
|
||||
* Fixed a regression in Django 4.2 where creating copies and deep copies of
|
||||
``HttpRequest``, ``HttpResponse``, and their subclasses didn't always work
|
||||
correctly (:ticket:`34482`, :ticket:`34484`).
|
||||
|
||||
Reference in New Issue
Block a user