Skip to content
Snippets Groups Projects
Commit e52de041 authored by stvn's avatar stvn
Browse files

Merge PR #26752 cleanup/middleware-classes

* Commits:
  docs: Update references to Django MIDDLEWARE_CLASSES
parents 5e2bbd88 b033b0d1
No related merge requests found
......@@ -55,9 +55,9 @@ However, this has two main disadvantages:
Usage
~~~~~
To use, find ``MIDDLEWARE_CLASSES`` in your ``settings.py`` and replace::
To use, find ``MIDDLEWARE`` in your ``settings.py`` and replace::
MIDDLEWARE_CLASSES = [
MIDDLEWARE = [
...
'django.contrib.auth.middleware.AuthenticationMiddleware',
...
......@@ -65,7 +65,7 @@ To use, find ``MIDDLEWARE_CLASSES`` in your ``settings.py`` and replace::
with::
MIDDLEWARE_CLASSES = [
MIDDLEWARE = [
...
'openedx.core.djangoapps.cache_toolbox.middleware.CacheBackedAuthenticationMiddleware',
...
......
......@@ -9,7 +9,7 @@ are only accessible through the use of a specific query parameter
Installation
------------
Add the ``DarkLangMiddleware`` to your list of ``MIDDLEWARE_CLASSES``.
Add the ``DarkLangMiddleware`` to your list of ``MIDDLEWARE``.
It must come after the ``SessionMiddleware``, and before the ``LocaleMiddleware``.
Run migrations to install the configuration table.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment