回溯错误:Django字典

2024-10-01 07:45:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我在Django项目上测试facebook SDK时,突然出现了一个错误,下面是回溯:

http://dpaste.com/3VCMYEC

以下是与该站点相关的url.py

def facebook(request):

    '''A sample application that will publish a status update after going into the login process using the Javascript SDK '''

    yourappid = XXXXXXXXXXXXXXXXXX

    return render(request, 'hackathon/facebook.html', yourappid)

Tags: the项目djangopycomhttpurlfacebook