• Aymeric Augustin's avatar
    Removed LocaleMiddleware from settings template. · 23229061
    Aymeric Augustin yazdı
    It was added in 3f1c7b70.
    
    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.
    23229061
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...