kopia lustrzana https://github.com/wagtail/wagtail
Fix incorrect reference to MIDDLEWARES
rodzic
925d64730a
commit
4f42e61a2c
|
@ -34,4 +34,4 @@ Upgrade considerations
|
|||
SiteMiddleware moved to ``wagtail.contrib.legacy``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The SiteMiddleware class (which provides the ``request.site`` property, and has been deprecated since Wagtail 2.9) has been moved to the ``wagtail.contrib.legacy`` namespace. On projects where this is still in use, the ``'wagtail.core.middleware.SiteMiddleware'`` entry in ``MIDDLEWARES`` should be changed to ``'wagtail.contrib.legacy.sitemiddleware.SiteMiddleware'``.
|
||||
The SiteMiddleware class (which provides the ``request.site`` property, and has been deprecated since Wagtail 2.9) has been moved to the ``wagtail.contrib.legacy`` namespace. On projects where this is still in use, the ``'wagtail.core.middleware.SiteMiddleware'`` entry in ``MIDDLEWARE`` should be changed to ``'wagtail.contrib.legacy.sitemiddleware.SiteMiddleware'``.
|
||||
|
|
Ładowanie…
Reference in New Issue