Найти - Пользователи
Полная версия: Установка Django CMS
Начало » Django » Установка Django CMS
1
NSkrypnik
Добрый день, уважаемые знатоки =)

Начал пробывать джангу, захотелось поковырять проект http://www.django-cms.org. Поставил, как было у них написано в документации, прописал необходимые данные в settings.py, но не запускается. Выводится такая ошибка в логе апача:
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1]     from cms.views import details\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] File "D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\homeportal\\cms\\views.py", line 2, in <module>\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] from cms.appresolver import applications_page_check\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] File "D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\homeportal\\cms\\appresolver.py", line 4, in <module>\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] from cms.utils.moderator import get_page_queryset\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] File "D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\homeportal\\cms\\utils\\moderator.py", line 4, in <module>\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] from cms.models import Page, PageModeratorState, PageModerator, CMSPlugin, Title,\\\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] File "D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\homeportal\\cms\\models\\__init__.py", line 8, in <module>\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] from cms import signals\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] File "D:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\homeportal\\cms\\signals.py", line 2, in <module>\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] from cms import settings as cms_settings, appresolver\r
[Thu Nov 05 16:37:13 2009] [error] [client 127.0.0.1] ImportError: cannot import name appresolver\r
не может импортировать appresolver. Как я понял, происходит рекурсивный импорт, а насколько я знаю, питоне такого делать нельзя. Или глюки в коде Django-cms или я чего-то не понимаю. Подскажите, плз.
Vermus
проверьте PYTHONPATH
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB