开发者

django socialregistration error help

I was hoping to get some assistance using the django social registration app.

I am getting this error: TemplateSyntaxError at /accounts/login/ Caught NoReverseMatch while rendering: Reverse for 'facebook_login' with arguments '()' and keyword arguments '{}' not found.

So far I have: installed the dependencies; put socialregistation in my python/django working directory, added it to the installed apps and sync'd the dbase; added the middleware;entered the facebook api id and secret key into settings; added 'django.core.context_processors.request' to TEMPLATE_CONTEXT_PROCESSORS; added the "urls url(r'^social/$', include('socialregistration.urls')),", and added the template code "{% load fac开发者_运维知识库ebook_tags %} {% facebook_button %}{% facebook_js %}".

Now I have the standard login working on this already, but that should conflict since the url name is facebook_login.

Thanks in advance.


most probably you do not have FACEBOOK_API_KEY set in your settings.py

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜