Update README.rst

MIDDLEWARE_CLASSES is the old setting, MIDDLEWARE is the new setting
This commit is contained in:
Benyamin Jafari 2020-09-19 14:35:06 +04:30 committed by GitHub
parent f15d0fa448
commit 8cbd1fa789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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::