diff options
author | Florian Apolloner <florian@apolloner.eu> | 2015-11-07 16:12:37 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-05-17 07:22:22 -0400 |
commit | 9baf692a58de78dba13aa582098781675367c329 (patch) | |
tree | 1926555441d0c3b13185782dce193b839d616a4a /tests/logging_tests | |
parent | 05c888ffb843ba3eff06cd07b3cef5bbb513a54f (diff) | |
download | django-9baf692a58de78dba13aa582098781675367c329.tar.gz |
Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
Diffstat (limited to 'tests/logging_tests')
-rw-r--r-- | tests/logging_tests/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logging_tests/tests.py b/tests/logging_tests/tests.py index 058abfb4a3..1802a0ce47 100644 --- a/tests/logging_tests/tests.py +++ b/tests/logging_tests/tests.py @@ -125,7 +125,7 @@ class HandlerLoggingTests(SetupDefaultLoggingMixin, LoggingCaptureMixin, SimpleT DEBUG=True, USE_I18N=True, LANGUAGES=[('en', 'English')], - MIDDLEWARE_CLASSES=[ + MIDDLEWARE=[ 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', ], |