我在新的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
我如何摆脱这些错误?
答案 0 :(得分:0)
您应该使用mod_wsgi,不应再使用mod_python。