关于Module “django.core.context_processors” does not define a “auth” callable request processor的解决方案
修改一下django.conf下的global_setting
# old
TEMPLATE_CONTEXT_PROCESSORS = ("django.core.context_processors.auth",
...
)
# new
TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth",
...
)
作者:u012798391 发表于2013-12-2 0:24:25 原文链接
阅读:134 评论:0 查看评论