0

https://github.com/flashingpumpkin/django-socialregistrationの指示に従って、小さなdjango appの Twitter 認証を取得しました。

私が確信していない唯一のことは、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に従って socialregistration.urls は引数を必要としないため、これは奇妙です。

4

1 に答える 1