{"action":"created","issue":{"url":"https://api.github.com/repos/beitian/omega/issues/4","labels_url":"https://api.github.com/repos/beitian/omega/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/beitian/omega/issues/4/comments","events_url":"https://api.github.com/repos/beitian/omega/issues/4/events","html_url":"https://github.com/beitian/omega/issues/4","id":62992440,"number":4,"title":"'NoneType' object is not iterable","user":{"login":"beitian","id":3884630,"avatar_url":"https://avatars.githubusercontent.com/u/3884630?v=3","gravatar_id":"","url":"https://api.github.com/users/beitian","html_url":"https://github.com/beitian","followers_url":"https://api.github.com/users/beitian/followers","following_url":"https://api.github.com/users/beitian/following{/other_user}","gists_url":"https://api.github.com/users/beitian/gists{/gist_id}","starred_url":"https://api.github.com/users/beitian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beitian/subscriptions","organizations_url":"https://api.github.com/users/beitian/orgs","repos_url":"https://api.github.com/users/beitian/repos","events_url":"https://api.github.com/users/beitian/events{/privacy}","received_events_url":"https://api.github.com/users/beitian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T13:43:34Z","updated_at":"2015-03-19T15:41:02Z","closed_at":null,"body":"django view中使用RequestContext(request) 报错，代码如下：\r\n\r\n```\r\ndef dashboard(request):\r\n    return render_to_response('common/dashboard.html', context_instance=RequestContext(request))\r\n```\r\n\r\n报错为\r\n```\r\nException Value: \t\r\n\r\n'NoneType' object is not iterable\r\n```\r\n\r\n并且 chrome运行正常，FF, safari运行不正常。"},"comment":{"url":"https://api.github.com/repos/beitian/omega/issues/comments/83638673","html_url":"https://github.com/beitian/omega/issues/4#issuecomment-83638673","issue_url":"https://api.github.com/repos/beitian/omega/issues/4","id":83638673,"user":{"login":"beitian","id":3884630,"avatar_url":"https://avatars.githubusercontent.com/u/3884630?v=3","gravatar_id":"","url":"https://api.github.com/users/beitian","html_url":"https://github.com/beitian","followers_url":"https://api.github.com/users/beitian/followers","following_url":"https://api.github.com/users/beitian/following{/other_user}","gists_url":"https://api.github.com/users/beitian/gists{/gist_id}","starred_url":"https://api.github.com/users/beitian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beitian/subscriptions","organizations_url":"https://api.github.com/users/beitian/orgs","repos_url":"https://api.github.com/users/beitian/repos","events_url":"https://api.github.com/users/beitian/events{/privacy}","received_events_url":"https://api.github.com/users/beitian/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T15:41:02Z","updated_at":"2015-03-19T15:41:02Z","body":"原因：request中user字段为空。打印request.user看看即可。"}}