Skip to content
Browse files

Merge branch 'temp-hotfix-better_logging' into production

  • Loading branch information...
2 parents 0655b9e + feeb331 commit 6dc1adcfb927363bac2010a9c9c5c34364c87318 @zalun zalun committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 settings.py
View
3 settings.py
@@ -175,6 +175,8 @@
)
MIDDLEWARE_CLASSES = [
+ # Munging REMOTE_ADDR must come before ThreadRequest.
+ 'commonware.middleware.SetRemoteAddrFromForwardedFor',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
@@ -183,6 +185,7 @@
'debug_toolbar.middleware.DebugToolbarMiddleware',
'utils.cookies.HttpOnlyMiddleware',
'commonware.middleware.FrameOptionsHeader',
+ 'commonware.middleware.HidePasswordOnException',
]
TEMPLATE_CONTEXT_PROCESSORS = (

0 comments on commit 6dc1adc

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