settings: added django-cms middlewares.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
d2e978caeb
commit
e98abedf2e
1 changed files with 6 additions and 0 deletions
|
@ -85,6 +85,12 @@ MIDDLEWARE_CLASSES = (
|
|||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
# django-cms middlewares
|
||||
'cms.middleware.user.CurrentUserMiddleware',
|
||||
'cms.middleware.page.CurrentPageMiddleware',
|
||||
'cms.middleware.toolbar.ToolbarMiddleware',
|
||||
'cms.middleware.language.LanguageCookieMiddleware',
|
||||
# /djangocms-middlewares
|
||||
)
|
||||
|
||||
ROOT_URLCONF = 'dynamicweb.urls'
|
||||
|
|
Loading…
Reference in a new issue