Add LocaleMiddleware

This commit is contained in:
Tano Abeleyra 2019-05-17 11:57:13 -03:00 committed by GitHub
parent dc55a3cdd4
commit ecc5a73aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,7 @@ AUTH_PASSWORD_VALIDATORS = [
MIDDLEWARE = [
"django.middleware.security.SecurityMiddleware",
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",