有人用过django_clickpass吗

有人用过django_clickpass吗,django,openid,Django,Openid,我在执行华盛顿邮报网站的代码时遇到了一些问题,他们没有提供支持。看起来是一个很好的工具,所以我坚持下去,但我欢迎以前的人提供任何建议 当前错误为:异常值: (1048,“列'openid'不能为空”) 问题似乎始于clickpass中consumer.py中的do_注册 openid = request.openid and request.openid.openid <--- request.openid and request.openid.openid are both N

我在执行华盛顿邮报网站的代码时遇到了一些问题,他们没有提供支持。看起来是一个很好的工具,所以我坚持下去,但我欢迎以前的人提供任何建议

当前错误为:异常值:
(1048,“列'openid'不能为空”)

问题似乎始于clickpass中consumer.py中的do_注册

   openid = request.openid and request.openid.openid  <--- request.openid and request.openid.openid are both None at this stage
    user.openids.create(openid=openid)    <------ problem in here I think
    self.log_in_user(request, user)
    return self.on_registration_complete(request)
在注册过程中,它从未要求我提供openid,但它似乎已经生成了一个openid,并将其作为GET返回:

GET
Variable    Value
family-name      u'Bright'
given-name      u'Phoebe'
nickname        u'phoebe77'
clickpass_openid     u'http://www.clickpass.com/id/34tqv910o06r'
email       u'phoebe77@vividlogic.ie'

有什么想法吗?

我已经设法找到了django clickpass的工作。我已经在我的博客上实现了它,它工作正常

您使用的是什么Python版本?我在Python2.4上运行它时遇到问题,问题是PythonOpenID库。hashlib库有一个bug。为了解决这个问题,我必须应用这个或使用Python 2.5


您是否正确配置了clickpass帐户?

需要更多详细信息-您遇到了什么问题?不得不放弃clickpass,但感谢您的回答。即使我没有时间尝试,我也会把它作为答案推销出去。谢谢
GET
Variable    Value
family-name      u'Bright'
given-name      u'Phoebe'
nickname        u'phoebe77'
clickpass_openid     u'http://www.clickpass.com/id/34tqv910o06r'
email       u'phoebe77@vividlogic.ie'