Skip to content

Commit ce6b0ca

Browse files
authored
Merge pull request #67 from michjnich/fix-incorrect-install-instructions
Rename MIDDLEWARE_CLASSES => MIDDLEWARE in README
2 parents 54dd880 + 76502fd commit ce6b0ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ Add ``'livereload'`` to the ``INSTALLED_APPS``, before ``'django.contrib.staticf
2222

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

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

27-
MIDDLEWARE_CLASSES = (
27+
MIDDLEWARE = (
2828
...
2929
'livereload.middleware.LiveReloadScript',
3030
)

0 commit comments

Comments
 (0)