From 8cbd1fa789694b277971540542ba18a2e23d3799 Mon Sep 17 00:00:00 2001 From: Benyamin Jafari Date: Sat, 19 Sep 2020 14:35:06 +0430 Subject: [PATCH] Update README.rst MIDDLEWARE_CLASSES is the old setting, MIDDLEWARE is the new setting --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 87b663f..bd8888f 100644 --- a/README.rst +++ b/README.rst @@ -136,13 +136,13 @@ Quick start ) For internationalization support, add "django.middleware.locale.LocaleMiddleware" - to your MIDDLEWARE_CLASSES setting like this:: + to your MIDDLEWARE setting like this:: - MIDDLEWARE_CLASSES = ( + MIDDLEWARE = [ ... 'django.middleware.locale.LocaleMiddleware', ... - ) + ] 2. Include the cas_server URLconf in your project urls.py like this::