2011-02-13 51 views
0

我按照https://github.com/flashingpumpkin/django-socialregistration的指示获取了我的小django应用的twitter身份验证。NoReverseMatch在twitter上使用django-socialregistration进行身份验证

我不确定的唯一的事情就是网址必须去的地方,所以我加入了我的url模式。

('^$', include('socialregistration.urls')), 

现在,我得到:

TemplateSyntaxError at/

Caught NoReverseMatch while rendering: Reverse for 'twitter_redirect' with arguments '()' and keyword arguments '{}' not found. 

这是奇怪的socialregistration.urls不需要任何参数按https://github.com/flashingpumpkin/django-socialregistration/blob/master/socialregistration/urls.py

回答

0

貌似twitter_redirect URL如果你定义只包括settings.py中有一个TWITTER_CONSUMER_KEY - 有你吗?