#34515: Translatable URL patterns raise 404 for non-English default language 
when
prefix_default_language=False is used.
-------------------------------------+-------------------------------------
     Reporter:  ab                   |                    Owner:  Sarah
                                     |  Boyce
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  4.2
  Internationalization               |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
  internationalization, i18n,        |
  prefix_default_language,           |
  i18n_patterns                      |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"f200d8369822e418906579503b8d3015a03e75f0" f200d836]:
 {{{
 #!CommitTicketReference repository=""
 revision="f200d8369822e418906579503b8d3015a03e75f0"
 [4.2.x] Fixed #34515 -- Made LocaleMiddleware prefer language from paths
 when i18n patterns are used.

 Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.

 This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
 (refs #34069) and
 partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.

 Thanks Anthony Baillard for the report.

 Co-Authored-By: Sarah Boyce <[email protected]>

 Backport of 0e444e84f87d174713a2aef0c4f9704ce2865586 from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34515#comment:17>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187dabd0c24-65d14419-7907-45f9-b37d-07990051c529-000000%40eu-central-1.amazonses.com.

Reply via email to