#34455: i18n_patterns() not respecting prefix_default_language=False
-------------------------------------+-------------------------------------
Reporter: Oussama Jarrousse | Owner: nobody
Type: Bug | Status: closed
Component: Core (URLs) | Version: 4.2
Severity: Release blocker | Resolution: needsinfo
Keywords: | Triage Stage:
internationalization, i18n, | Unreviewed
prefix_default_language |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Oussama Jarrousse):
I will provide the project shortly on github...
In the meanwhile, I assume you were not able to reproduce the issue
because you did not include: django.middleware.locale.LocaleMiddleware
here is MIDDLEWARE list in settings.py
{{{
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware", # This line is important
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34455#comment:4>
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/010701874d0a2f8e-3646c442-1ee8-4dbf-a2ae-f313f55d40d7-000000%40eu-central-1.amazonses.com.