nephila / djangocms-installer

Console wizard to bootstrap django CMS projects

Home Page:https://djangocms-installer.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use MIDDLEWARE_CLASSES instead of MIDDLEWARE in settings.py generated for django<1.10

sunmoonone opened this issue · comments

Use MIDDLEWARE_CLASSES instead of MIDDLEWARE in settings.py generated for django<1.10

Their will be problems when open cms page while using MIDDLEWARE:
'WSGIRequest' object has no attribute 'user'

@sunmoonone that should be the case. I just created a project using the defaults (i.e.: Django 1.8) and MIDDLEWARE_CLASSES has been added, instead of MIDDLEWARE
Can you report the exact version and command you used to generate the project?

closed due to lack of feedback