Fix documentation for installation
This commit is contained in:
parent
bc119907f1
commit
1283d3139c
1 changed files with 6 additions and 3 deletions
|
@ -60,12 +60,15 @@ Usage
|
|||
...
|
||||
]
|
||||
|
||||
#. Add ``djangocms_multisite.middleware.CMSMultiSiteMiddleware`` to ``MIDDLEWARE_CLASSES`` after
|
||||
``django-multisite`` middleware::
|
||||
#. Add ``multisite.middleware.DynamicSiteMiddleware`` and ``djangocms_multisite.middleware.CMSMultiSiteMiddleware``
|
||||
to ``MIDDLEWARE_CLASSES``; ``multisite.middleware.DynamicSiteMiddleware`` must be applied before
|
||||
``cms.middleware.utils.ApphookReloadMiddleware``, while ``djangocms_multisite.middleware.CMSMultiSiteMiddleware``
|
||||
must right after that::
|
||||
|
||||
MIDDLEWARE_CLASSES = [
|
||||
...
|
||||
'multisite.middleware.DynamicSiteMiddleware',
|
||||
'cms.middleware.utils.ApphookReloadMiddleware',
|
||||
'djangocms_multisite.middleware.CMSMultiSiteMiddleware',
|
||||
...
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue