LOADING

Follow me

Module “django.core.context_processors” does not define a “auth” callable request processor
十二月 2, 2013|Whistler

Module “django.core.context_processors” does not define a “auth” callable request processor


关于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",
                               ...
)




版权声明:本文为博主原创文章,未经博主允许不得转载。

no comments
Share

发表评论