开发者

What could cause Django to start failing its own tests after an OS and Django reinstall?

I had to reinstall my OS, and so, I reinstalled django 1.1. Since reinstalling, when I run tests in my app, I get several failures from django.contrib.auth.

Logs: http://dpaste.com/178153/

I asked on #django, and no 开发者_StackOverflow社区one is too sure what the cause of the errors are. Some of my own code fails its tests, because it's not fully written yet, but that shouldn't cause django to fail it's core tests...

I have included django.contrib.admin, which was mentioned as a possible cause.

EDIT: Starting a fresh project, the same django internal tests fail.


These look like django.contib.auth failures. Are including django.contib.auth in your installed apps? Have you changed either the MIDDLEWARE_CLASSES or TEMPLATE_CONTEXT_PROCESSORS in your settings file? Both of these contain default settings used by the django.contib.auth that might cause these failures.


Asking on #django again reveals this is a known bug to do with python 2.6.5 which came with the new version of my OS, and Django 1.1.1.

It has been patched in the development version.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜