Skip to content

Commit

Permalink
Insert LocaleMiddleware at correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
friedelwolff committed Aug 1, 2024
1 parent ee8a038 commit eb28bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@
# DebugToolbarMiddleware should go here if enabled. Done below. See
# https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#add-the-middleware
"django.contrib.sessions.middleware.SessionMiddleware",
"django.middleware.locale.LocaleMiddleware",
"django.middleware.common.CommonMiddleware",
"django.middleware.csrf.CsrfViewMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"simple_history.middleware.HistoryRequestMiddleware",
"django.middleware.locale.LocaleMiddleware",
]

# Add debug toolbar middleware
Expand Down

0 comments on commit eb28bfe

Please sign in to comment.