Skip to content
Browse files

Removed LocaleMiddleware from settings template.

It was added in 3f1c7b7.

Single language sites should always be translated in LANGUAGE_CODE,
regardless of the browser's Accept-Language. Having LocaleMiddleware
enabled can result in having some parts, like the admin, translated
in an unexpected language, typically if someone browses a non-English
website on a system set up in English. Since most websites won't be
translated in multiple languages — especially at the time they're
created — it's better not to enable LocaleMiddleware by default.

Thanks Ramiro for the feedback.
  • Loading branch information...
1 parent d7fa802 commit 23229061fcb836ecca2195cc75f91e331279a5d1 @aaugustin aaugustin committed
Showing with 0 additions and 1 deletion.
  1. +0 −1  django/conf/project_template/project_name/
1  django/conf/project_template/project_name/
@@ -40,7 +40,6 @@
- 'django.middleware.locale.LocaleMiddleware',

0 comments on commit 2322906

Please sign in to comment.
Something went wrong with that request. Please try again.