2011-02-13 2 views
0

https://github.com/flashingpumpkin/django-socialregistration의 지침에 따라 django 앱에 대한 트위터 인증을 받으십시오.NoReverseMatch on twitter auth with django-socialregistration

내가 확신 할 수없는 유일한 점은 URL을 가져야하는 부분이므로 URL 패턴을 추가했습니다.

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

지금, 내가 얻을 :

TemplateSyntaxError at/

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

https://github.com/flashingpumpkin/django-socialregistration/blob/master/socialregistration/urls.py

답변

0

사용자가 정의한 경우에만 포함되어있는 twitter_redirect URL을 것 같은데 당으로 인수를 필요로하지 않는다 socialregistration.urls으로 이상하다 settings.py에 TWITTER_CONSUMER_KEY가 있습니까?