Настройка параметров django для работы с 1.4.1. Ошибка загрузки шаблона
Вот ошибка, которую я получил:
ImproperlyConfigured: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"
Вот мой код шаблона загрузчика:
if DEBUG:
TEMPLATE_LOADERS = [
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
]
else:
TEMPLATE_LOADERS = [
('django.template.loaders.cached.Loader',(
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
'forum.modules.template_loader.module_templates_loader',
'forum.skins.load_template_source',
)),
]
Весь этот код был там, когда я скачал проект из интернета. Я пытаюсь настроитьOSQA с помощьюэти инструкции, Я бегуMS SQL Server и имеютPython 2.6 установлены. Любая помощь о том, как исправить эту ошибку(found when I try to run manage.py
runserver and hit the http link where my stuff is setup. the error pops up in the command line), Я новичок вDjango а такжеPython поэтому я не знаю, как диагностировать происходящее.