草庐IT

MessageMiddleware

全部标签

python - 当我在 Django 中运行完整的测试套件时,我收到有关缺少 MessageMiddleware 的错误

我的应用名为abcapp。我在Python2.7上运行Django1.5b1。同样的问题发生在django的最新主干版本中。当我运行manage.pytestabcapp时,我编写的所有测试都通过了。当我运行manage.pytest时,我遇到了一连串的失败。显示了这些失败中的第​​一个:Traceback(mostrecentcalllast):File"C:\ProgramFiles\Django-1.5b1\django\core\handlers\base.py",line116,inget_responseresponse=callback(request,*callback