使用django socialregistration在twitter上验证NoReverseMatch

使用django socialregistration在twitter上验证NoReverseMatch,django,twitter,twitter-oauth,Django,Twitter,Twitter Oauth,我按照上的说明为我的小django应用程序获取twitter认证 我唯一不确定的是url必须去哪里,所以我添加了我的url模式 ('^$', include('socialregistration.urls')), 现在,我得到: TemplateSyntaxError at / Caught NoReverseMatch while rendering: Reverse for 'twitter_redirect' with arguments '()' and keyword argum

我按照上的说明为我的小django应用程序获取twitter认证

我唯一不确定的是url必须去哪里,所以我添加了我的url模式

('^$', include('socialregistration.urls')),
现在,我得到:

TemplateSyntaxError at /

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

这很奇怪,因为socialregistration.url不需要任何参数,因为看起来只有在settings.py中定义了
twitter\u CONSUMER\u KEY
时才会包括
twitter\u重定向
url,对吗