{"action":"created","issue":{"url":"https://api.github.com/repos/liangliangyy/DjangoBlog/issues/66","repository_url":"https://api.github.com/repos/liangliangyy/DjangoBlog","labels_url":"https://api.github.com/repos/liangliangyy/DjangoBlog/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/liangliangyy/DjangoBlog/issues/66/comments","events_url":"https://api.github.com/repos/liangliangyy/DjangoBlog/issues/66/events","html_url":"https://github.com/liangliangyy/DjangoBlog/issues/66","id":282684090,"number":66,"title":"增加文章时如果没有指定分类，阅读文章时直接报错","user":{"login":"xmyangz","id":28736825,"avatar_url":"https://avatars1.githubusercontent.com/u/28736825?v=4","gravatar_id":"","url":"https://api.github.com/users/xmyangz","html_url":"https://github.com/xmyangz","followers_url":"https://api.github.com/users/xmyangz/followers","following_url":"https://api.github.com/users/xmyangz/following{/other_user}","gists_url":"https://api.github.com/users/xmyangz/gists{/gist_id}","starred_url":"https://api.github.com/users/xmyangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmyangz/subscriptions","organizations_url":"https://api.github.com/users/xmyangz/orgs","repos_url":"https://api.github.com/users/xmyangz/repos","events_url":"https://api.github.com/users/xmyangz/events{/privacy}","received_events_url":"https://api.github.com/users/xmyangz/received_events","type":"User","site_admin":false},"labels":[{"id":473769344,"url":"https://api.github.com/repos/liangliangyy/DjangoBlog/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-17T10:28:51Z","updated_at":"2017-12-18T03:20:17Z","closed_at":null,"author_association":"NONE","body":"http://localhost:5000/article/2017/12/17/6.html\r\n1.11.5\r\nAttributeError\r\n'NoneType' object has no attribute 'get_category_tree'\r\n/Users/yangz/Documents/Dev/Python/DjangoBlog/blog/models.py in get_category_tree, line 81\r\n/Users/yangz/anaconda3/bin/python\r\n3.6.3\r\n\r\nError during template rendering\r\n\r\nIn template /Users/yangz/Documents/Dev/Python/DjangoBlog/templates/blog/tags/article_info.html, error at line 34\r\n'NoneType' object has no attribute 'get_category_tree'\r\n应该把category改为非空字段"},"comment":{"url":"https://api.github.com/repos/liangliangyy/DjangoBlog/issues/comments/352316188","html_url":"https://github.com/liangliangyy/DjangoBlog/issues/66#issuecomment-352316188","issue_url":"https://api.github.com/repos/liangliangyy/DjangoBlog/issues/66","id":352316188,"user":{"login":"liangliangyy","id":3077549,"avatar_url":"https://avatars2.githubusercontent.com/u/3077549?v=4","gravatar_id":"","url":"https://api.github.com/users/liangliangyy","html_url":"https://github.com/liangliangyy","followers_url":"https://api.github.com/users/liangliangyy/followers","following_url":"https://api.github.com/users/liangliangyy/following{/other_user}","gists_url":"https://api.github.com/users/liangliangyy/gists{/gist_id}","starred_url":"https://api.github.com/users/liangliangyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liangliangyy/subscriptions","organizations_url":"https://api.github.com/users/liangliangyy/orgs","repos_url":"https://api.github.com/users/liangliangyy/repos","events_url":"https://api.github.com/users/liangliangyy/events{/privacy}","received_events_url":"https://api.github.com/users/liangliangyy/received_events","type":"User","site_admin":false},"created_at":"2017-12-18T03:20:17Z","updated_at":"2017-12-18T03:20:17Z","author_association":"OWNER","body":"感谢~~我来处理下."}}
{"actor":{"display_login":"liangliangyy"}}