Django allauth error inproperlyconfigured“没有命名的模块messagesallauth.account.context_处理器"

2024-04-20 00:12:06 发布

您现在位置:Python中文网/ 问答频道 /正文

django-allauth installation的第一步之后,我得到以下错误。在

ImproperlyConfigured at /admin/
Error importing module django.contrib.messages.context_processors.messagesallauth.account.context_processors: "No module named messagesallauth.account.context_processors"
Request Method: GET
Request URL:    http://localhost:8000/admin/
Django Version: 1.6.6
Exception Type: ImproperlyConfigured
Exception Value:    
Error importing module django.contrib.messages.context_processors.messagesallauth.account.context_processors: "No module named messagesallauth.account.context_processors"
Exception Location: /home/miguelfg/workspace/python_environments/tdcp_observatorio/local/lib/python2.7/site-packages/django/utils/importlib.py in import_module, line 40
Python Executable:  /home/miguelfg/workspace/python_environments/tdcp_observatorio/bin/python2.7
Python Version: 2.7.3
Python Path:    
['/home/miguelfg/workspace/projects/python/tdcp_observatorio',
 '/home/miguelfg/workspace/projects/python/tdcp_observatorio',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/lib/python2.7',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/lib/python2.7/plat-linux2',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/lib/python2.7/lib-tk',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/lib/python2.7/lib-old',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/local/lib/python2.7/site-packages',
 '/home/miguelfg/workspace/python_environments/tdcp_observatorio/local/lib/python2.7/site-packages/PIL']
Server time:    Wed, 3 Sep 2014 12:29:34 +0200

我已经完成了所有的安装步骤,包括syncdb或migrate命令,直到登录django管理界面并添加站点和社交应用程序。在

以下是我的设置文件:

^{pr2}$

我在另一个项目中使用了allauth,但我从来没有得到过这个。欢迎任何帮助:-)


Tags: djangohomeliblocalcontextexceptionaccountworkspace