0
我想在看到一個漂亮的演示後嘗試新的Django CMS 3。我通過快速入門跑到這裏:Django CMS 3在啓動時被無意配置
https://github.com/divio/django-cms-tutorial/blob/master/Step%201%20-%20Initial%20Setup.md
運行的步驟後,如果發射了開發服務器第一輸出我在瀏覽器中得到的是:
ImproperlyConfigured at/
Module "cms.context_processors" does not define a "cms_settings" attribute/class
完全回溯如下。也許有人可以指出我正確的方向來解決這個問題?
任何幫助非常感謝。
環境:
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.6.1
Python Version: 3.4.0
Installed Applications:
('djangocms_admin_style',
'djangocms_text_ckeditor',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'cms',
'mptt',
'menus',
'south',
'sekizai',
'djangocms_style',
'djangocms_column',
'djangocms_file',
'djangocms_flash',
'djangocms_googlemap',
'djangocms_inherit',
'djangocms_link',
'djangocms_picture',
'djangocms_teaser',
'djangocms_video',
'reversion',
'my_demo')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware')
Traceback:
File "/home/sam/.envs/djangocms3/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
114. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/sam/.envs/djangocms3/lib/python3.4/site-packages/cms/views.py" in details
33. context = RequestContext(request)
File "/home/sam/.envs/djangocms3/lib/python3.4/site-packages/django/template/context.py" in __init__
168. for processor in get_standard_processors() + processors:
File "/home/sam/.envs/djangocms3/lib/python3.4/site-packages/django/template/context.py" in get_standard_processors
148. func = import_by_path(path)
File "/home/sam/.envs/djangocms3/lib/python3.4/site-packages/django/utils/module_loading.py" in import_by_path
31. error_prefix, module_path, class_name))
Exception Type: ImproperlyConfigured at/
Exception Value: Module "cms.context_processors" does not define a "cms_settings" attribute/class