Skip to content

Commit

Permalink
Rename MIDDLEWARE_CLASSES => MIDDLEWARE in README
Browse files Browse the repository at this point in the history
  • Loading branch information
michjnich committed Aug 28, 2023
1 parent 54dd880 commit 76502fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Add ``'livereload'`` to the ``INSTALLED_APPS``, before ``'django.contrib.staticf

Next you need to inject the loading of the livereload javascript. You can do this in one of two ways:

* Through middleware by adding ``'livereload.middleware.LiveReloadScript'`` to ``MIDDLEWARE_CLASSES`` (probably at the end)::
* Through middleware by adding ``'livereload.middleware.LiveReloadScript'`` to ``MIDDLEWARE`` (probably at the end)::

MIDDLEWARE_CLASSES = (
MIDDLEWARE = (
...
'livereload.middleware.LiveReloadScript',
)
Expand Down

0 comments on commit 76502fd

Please sign in to comment.