Skip to content

Commit

Permalink
Merge pull request #67 from michjnich/fix-incorrect-install-instructions
Browse files Browse the repository at this point in the history
Rename MIDDLEWARE_CLASSES => MIDDLEWARE in README
  • Loading branch information
tjwalch authored Dec 4, 2023
2 parents 54dd880 + 76502fd commit ce6b0ca
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 ce6b0ca

Please sign in to comment.