【发布时间】:2012-02-23 05:32:38
【问题描述】:
我已经在新的 ubuntu 服务器上安装了 Django。
我正在尝试通过 mod_python 运行简单的应用程序,但出现以下错误:
ImproperlyConfigured: Error importing middleware django.contrib.messages.middleware: "No module named messages.middleware"
有时它会提高:
ImproperlyConfigured: Module "django.template.loaders.filesystem" does not define a "Loader" callable template source loader
我怎样才能摆脱这些错误?
【问题讨论】:
-
第 1 步:停止使用 mod_python。
标签: django ubuntu middleware