Update README.rst
MIDDLEWARE_CLASSES is the old setting, MIDDLEWARE is the new setting
This commit is contained in:
parent
f15d0fa448
commit
8cbd1fa789
1 changed files with 3 additions and 3 deletions
|
@ -136,13 +136,13 @@ Quick start
|
||||||
)
|
)
|
||||||
|
|
||||||
For internationalization support, add "django.middleware.locale.LocaleMiddleware"
|
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',
|
'django.middleware.locale.LocaleMiddleware',
|
||||||
...
|
...
|
||||||
)
|
]
|
||||||
|
|
||||||
2. Include the cas_server URLconf in your project urls.py like this::
|
2. Include the cas_server URLconf in your project urls.py like this::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue