开发者

pinax ImportError cannot import name UserOpenidAssociation

开发者 https://www.devze.com 2022-12-18 10:52 出处:网络
I have these errors: ImportError at / cannot import name UserOpenidAssociation. I could not make any sense out of the traceback:

I have these errors:

ImportError at / cannot import name UserOpenidAssociation.

I could not make any sense out of the traceback:

Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 1.1.1
Python Version: 2.6.1
Installed Applications:
['inventory.inlanddbase']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django_openid.consumer.SessionConsumer',
 'account.middleware.LocaleMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'pagination.middleware.PaginationMiddleware',
 'pinax.middleware.security.HideSensistiveFieldsMiddleware')


Traceback:
File "C:\Python26\lib\site-packages\django\core\handlers\base.py" in get_response
  83.                     request.path_info)
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py" in resolve
  216.             for pattern in self.url_patterns:
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py" in _get_url_patterns
  245.         patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py" in _get_urlconf_module
  240.             self._urlconf_module = import_module(self.urlconf_name)
File "C:\Python26\lib\site-packages\django\utils\importlib.py" in import_module
  35.     __import__(name)
File "C:\inlanddoors\Scripts\inventory\urls.py" in <module>
  9. from account.openid_consumer import PinaxConsumer
File "C:\inlanddoors\Lib\site-packages\pinax\apps\account\openid_consumer.py" in <module>
  15. from account.views import login as account_login
File "C:\inlanddoors\Lib\site-packages\pinax\apps\account\vie开发者_C百科ws.py" in <module>
  22.     from django_openid.models import UserOpenidAssociation

Exception Type: ImportError at /
Exception Value: cannot import name UserOpenidAssociation

What am I doing wrong???


sudo pip install django_openid

0

精彩评论

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