python

I started using django-social-auth which looks great, i want to setup a tiny twitter app and just need the twitter connect. I followed the guidelines and examples. The twitter connect looks like it's working, i am redirected to twitter authentication but when returning back to my callbackUrl i get always redirected to the LOGIN_URL_ERROR, i have no error messages. I tried adding django logging still no error is showed. The messages module used in the example views gives me: "Sorry but some error made you impossible to login. Please try again"

I am currently testing on localhost so maybe it's the problem, i have setup the twitter app with the url: local.dev:8000 and callbackUrl: local.dev:8000/filtered with a mapping on /etc/hosts

settings.py

social_settings.py

views.py

urls.py

python2.7, django 1.3, django-social-auth github repo

链接地址: http://www.djcxy.com/p/63282.html

上一篇: 如何不在django社交中设置用户的电子邮件地址

下一篇: 蟒蛇