{"action":"created","issue":{"url":"https://api.github.com/repos/divio/django-cms/issues/4251","labels_url":"https://api.github.com/repos/divio/django-cms/issues/4251/labels{/name}","comments_url":"https://api.github.com/repos/divio/django-cms/issues/4251/comments","events_url":"https://api.github.com/repos/divio/django-cms/issues/4251/events","html_url":"https://github.com/divio/django-cms/issues/4251","id":94181667,"number":4251,"title":"djangocms-installer generates wrong settings.py with Django 1.8","user":{"login":"mrsarm","id":1608415,"avatar_url":"https://avatars.githubusercontent.com/u/1608415?v=3","gravatar_id":"","url":"https://api.github.com/users/mrsarm","html_url":"https://github.com/mrsarm","followers_url":"https://api.github.com/users/mrsarm/followers","following_url":"https://api.github.com/users/mrsarm/following{/other_user}","gists_url":"https://api.github.com/users/mrsarm/gists{/gist_id}","starred_url":"https://api.github.com/users/mrsarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrsarm/subscriptions","organizations_url":"https://api.github.com/users/mrsarm/orgs","repos_url":"https://api.github.com/users/mrsarm/repos","events_url":"https://api.github.com/users/mrsarm/events{/privacy}","received_events_url":"https://api.github.com/users/mrsarm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-10T00:29:11Z","updated_at":"2015-07-11T11:47:33Z","closed_at":null,"body":"Te configuration is initialized with a ``TEMPLATE_CONTEXT_PROCESSORS`` removed in Django 1.8: ``django.middleware.doc.XViewMiddleware``. This cause this exception when you start the project with ``runserver`` an try to load the home page:\r\n\r\n    Django version 1.8.3, using settings 'mrdev.settings'\r\n    Starting development server at http://127.0.0.1:8000/\r\n    Quit the server with CONTROL-C.\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python3.4/wsgiref/handlers.py\", line 137, in run\r\n        self.result = application(self.environ, self.start_response)\r\n      File \"/projects/mrsarm/py/cms-3.1/env/lib/python3.4/site-packages/django/contrib/staticfiles/handlers.py\", line 63, in __call__\r\n        return self.application(environ, start_response)\r\n      File \"/projects/mrsarm/py/cms-3.1/env/lib/python3.4/site-packages/django/core/handlers/wsgi.py\", line 170, in __call__\r\n        self.load_middleware()\r\n      File \"/projects/mrsarm/py/cms-3.1/env/lib/python3.4/site-packages/django/core/handlers/base.py\", line 50, in load_middleware\r\n        mw_class = import_string(middleware_path)\r\n      File \"/projects/mrsarm/py/cms-3.1/env/lib/python3.4/site-packages/django/utils/module_loading.py\", line 26, in import_string\r\n        module = import_module(module_path)\r\n      File \"/projects/mrsarm/py/cms-3.1/env/lib/python3.4/importlib/__init__.py\", line 109, in import_module\r\n        return _bootstrap._gcd_import(name[level:], package, level)\r\n      File \"<frozen importlib._bootstrap>\", line 2231, in _gcd_import\r\n      File \"<frozen importlib._bootstrap>\", line 2214, in _find_and_load\r\n      File \"<frozen importlib._bootstrap>\", line 2201, in _find_and_load_unlocked\r\n    ImportError: No module named 'django.middleware.doc'\r\n\r\nAccording with [Django documentation](https://docs.djangoproject.com/en/1.8/internals/deprecation/#deprecation-removed-in-1-8), it should be use ``django.contrib.admindocs.middleware.XViewMiddleware`` instead. I tried it and solved the problem.\r\n"},"comment":{"url":"https://api.github.com/repos/divio/django-cms/issues/comments/120606998","html_url":"https://github.com/divio/django-cms/issues/4251#issuecomment-120606998","issue_url":"https://api.github.com/repos/divio/django-cms/issues/4251","id":120606998,"user":{"login":"rfleschenberg","id":4319330,"avatar_url":"https://avatars.githubusercontent.com/u/4319330?v=3","gravatar_id":"","url":"https://api.github.com/users/rfleschenberg","html_url":"https://github.com/rfleschenberg","followers_url":"https://api.github.com/users/rfleschenberg/followers","following_url":"https://api.github.com/users/rfleschenberg/following{/other_user}","gists_url":"https://api.github.com/users/rfleschenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/rfleschenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfleschenberg/subscriptions","organizations_url":"https://api.github.com/users/rfleschenberg/orgs","repos_url":"https://api.github.com/users/rfleschenberg/repos","events_url":"https://api.github.com/users/rfleschenberg/events{/privacy}","received_events_url":"https://api.github.com/users/rfleschenberg/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T11:47:33Z","updated_at":"2015-07-11T11:47:33Z","body":"The missing toolbar CSS is caused by the fact that ``'sekizai.context_processors.sekizai'`` is not in ``CONTEXT_PROCESSORS``. Adding it fixes the issue for me."}}