2011-02-13 49 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 - 有你嗎?