{"action":"created","comment":{"url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/comments/41742699","id":41742699,"diff_hunk":"@@ -0,0 +1,42 @@\n+import urllib\n+import logging\n+from django.http import request\n+from django.http.response import HttpResponseRedirect\n+from django.views.generic import TemplateView, ListView\n+from google.appengine.api import users","path":"djangobaseview/guestbook/views.py","position":6,"original_position":6,"commit_id":"e58c9fe3de64bbd6f303b961ca0c6b6f11f78544","original_commit_id":"e58c9fe3de64bbd6f303b961ca0c6b6f11f78544","user":{"login":"asv-nhathv","id":8231950,"avatar_url":"https://avatars.githubusercontent.com/u/8231950?v=3","gravatar_id":"","url":"https://api.github.com/users/asv-nhathv","html_url":"https://github.com/asv-nhathv","followers_url":"https://api.github.com/users/asv-nhathv/followers","following_url":"https://api.github.com/users/asv-nhathv/following{/other_user}","gists_url":"https://api.github.com/users/asv-nhathv/gists{/gist_id}","starred_url":"https://api.github.com/users/asv-nhathv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asv-nhathv/subscriptions","organizations_url":"https://api.github.com/users/asv-nhathv/orgs","repos_url":"https://api.github.com/users/asv-nhathv/repos","events_url":"https://api.github.com/users/asv-nhathv/events{/privacy}","received_events_url":"https://api.github.com/users/asv-nhathv/received_events","type":"User","site_admin":false},"body":"import theo thứ tự:\r\ngoogle app engine --> django -->  pytest, such as mock","created_at":"2015-10-12T10:18:40Z","updated_at":"2015-10-12T10:18:40Z","html_url":"https://github.com/asv-minhnv/guestbook/pull/5#discussion_r41742699","pull_request_url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/comments/41742699"},"html":{"href":"https://github.com/asv-minhnv/guestbook/pull/5#discussion_r41742699"},"pull_request":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5","id":47260838,"html_url":"https://github.com/asv-minhnv/guestbook/pull/5","diff_url":"https://github.com/asv-minhnv/guestbook/pull/5.diff","patch_url":"https://github.com/asv-minhnv/guestbook/pull/5.patch","issue_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues/5","number":5,"state":"open","locked":false,"title":"Feature/class bassedview","user":{"login":"asv-minhnv","id":14993477,"avatar_url":"https://avatars.githubusercontent.com/u/14993477?v=3","gravatar_id":"","url":"https://api.github.com/users/asv-minhnv","html_url":"https://github.com/asv-minhnv","followers_url":"https://api.github.com/users/asv-minhnv/followers","following_url":"https://api.github.com/users/asv-minhnv/following{/other_user}","gists_url":"https://api.github.com/users/asv-minhnv/gists{/gist_id}","starred_url":"https://api.github.com/users/asv-minhnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asv-minhnv/subscriptions","organizations_url":"https://api.github.com/users/asv-minhnv/orgs","repos_url":"https://api.github.com/users/asv-minhnv/repos","events_url":"https://api.github.com/users/asv-minhnv/events{/privacy}","received_events_url":"https://api.github.com/users/asv-minhnv/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-09T11:26:45Z","updated_at":"2015-10-12T10:18:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"62453931382b180d8d86201bc6808944be83ee36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5/commits","review_comments_url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5/comments","review_comment_url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues/5/comments","statuses_url":"https://api.github.com/repos/asv-minhnv/guestbook/statuses/e58c9fe3de64bbd6f303b961ca0c6b6f11f78544","head":{"label":"asv-minhnv:feature/class-bassedview","ref":"feature/class-bassedview","sha":"e58c9fe3de64bbd6f303b961ca0c6b6f11f78544","user":{"login":"asv-minhnv","id":14993477,"avatar_url":"https://avatars.githubusercontent.com/u/14993477?v=3","gravatar_id":"","url":"https://api.github.com/users/asv-minhnv","html_url":"https://github.com/asv-minhnv","followers_url":"https://api.github.com/users/asv-minhnv/followers","following_url":"https://api.github.com/users/asv-minhnv/following{/other_user}","gists_url":"https://api.github.com/users/asv-minhnv/gists{/gist_id}","starred_url":"https://api.github.com/users/asv-minhnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asv-minhnv/subscriptions","organizations_url":"https://api.github.com/users/asv-minhnv/orgs","repos_url":"https://api.github.com/users/asv-minhnv/repos","events_url":"https://api.github.com/users/asv-minhnv/events{/privacy}","received_events_url":"https://api.github.com/users/asv-minhnv/received_events","type":"User","site_admin":false},"repo":{"id":43740550,"name":"guestbook","full_name":"asv-minhnv/guestbook","owner":{"login":"asv-minhnv","id":14993477,"avatar_url":"https://avatars.githubusercontent.com/u/14993477?v=3","gravatar_id":"","url":"https://api.github.com/users/asv-minhnv","html_url":"https://github.com/asv-minhnv","followers_url":"https://api.github.com/users/asv-minhnv/followers","following_url":"https://api.github.com/users/asv-minhnv/following{/other_user}","gists_url":"https://api.github.com/users/asv-minhnv/gists{/gist_id}","starred_url":"https://api.github.com/users/asv-minhnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asv-minhnv/subscriptions","organizations_url":"https://api.github.com/users/asv-minhnv/orgs","repos_url":"https://api.github.com/users/asv-minhnv/repos","events_url":"https://api.github.com/users/asv-minhnv/events{/privacy}","received_events_url":"https://api.github.com/users/asv-minhnv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asv-minhnv/guestbook","description":"asv-minhnv guestbook","fork":false,"url":"https://api.github.com/repos/asv-minhnv/guestbook","forks_url":"https://api.github.com/repos/asv-minhnv/guestbook/forks","keys_url":"https://api.github.com/repos/asv-minhnv/guestbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asv-minhnv/guestbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asv-minhnv/guestbook/teams","hooks_url":"https://api.github.com/repos/asv-minhnv/guestbook/hooks","issue_events_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues/events{/number}","events_url":"https://api.github.com/repos/asv-minhnv/guestbook/events","assignees_url":"https://api.github.com/repos/asv-minhnv/guestbook/assignees{/user}","branches_url":"https://api.github.com/repos/asv-minhnv/guestbook/branches{/branch}","tags_url":"https://api.github.com/repos/asv-minhnv/guestbook/tags","blobs_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asv-minhnv/guestbook/statuses/{sha}","languages_url":"https://api.github.com/repos/asv-minhnv/guestbook/languages","stargazers_url":"https://api.github.com/repos/asv-minhnv/guestbook/stargazers","contributors_url":"https://api.github.com/repos/asv-minhnv/guestbook/contributors","subscribers_url":"https://api.github.com/repos/asv-minhnv/guestbook/subscribers","subscription_url":"https://api.github.com/repos/asv-minhnv/guestbook/subscription","commits_url":"https://api.github.com/repos/asv-minhnv/guestbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/asv-minhnv/guestbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/asv-minhnv/guestbook/contents/{+path}","compare_url":"https://api.github.com/repos/asv-minhnv/guestbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asv-minhnv/guestbook/merges","archive_url":"https://api.github.com/repos/asv-minhnv/guestbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asv-minhnv/guestbook/downloads","issues_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues{/number}","pulls_url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls{/number}","milestones_url":"https://api.github.com/repos/asv-minhnv/guestbook/milestones{/number}","notifications_url":"https://api.github.com/repos/asv-minhnv/guestbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asv-minhnv/guestbook/labels{/name}","releases_url":"https://api.github.com/repos/asv-minhnv/guestbook/releases{/id}","created_at":"2015-10-06T09:12:10Z","updated_at":"2015-10-06T09:12:10Z","pushed_at":"2015-10-12T06:25:34Z","git_url":"git://github.com/asv-minhnv/guestbook.git","ssh_url":"git@github.com:asv-minhnv/guestbook.git","clone_url":"https://github.com/asv-minhnv/guestbook.git","svn_url":"https://github.com/asv-minhnv/guestbook","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"asv-minhnv:develop","ref":"develop","sha":"1da47eda133dd152b80010bba4acdfb1c4b43f67","user":{"login":"asv-minhnv","id":14993477,"avatar_url":"https://avatars.githubusercontent.com/u/14993477?v=3","gravatar_id":"","url":"https://api.github.com/users/asv-minhnv","html_url":"https://github.com/asv-minhnv","followers_url":"https://api.github.com/users/asv-minhnv/followers","following_url":"https://api.github.com/users/asv-minhnv/following{/other_user}","gists_url":"https://api.github.com/users/asv-minhnv/gists{/gist_id}","starred_url":"https://api.github.com/users/asv-minhnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asv-minhnv/subscriptions","organizations_url":"https://api.github.com/users/asv-minhnv/orgs","repos_url":"https://api.github.com/users/asv-minhnv/repos","events_url":"https://api.github.com/users/asv-minhnv/events{/privacy}","received_events_url":"https://api.github.com/users/asv-minhnv/received_events","type":"User","site_admin":false},"repo":{"id":43740550,"name":"guestbook","full_name":"asv-minhnv/guestbook","owner":{"login":"asv-minhnv","id":14993477,"avatar_url":"https://avatars.githubusercontent.com/u/14993477?v=3","gravatar_id":"","url":"https://api.github.com/users/asv-minhnv","html_url":"https://github.com/asv-minhnv","followers_url":"https://api.github.com/users/asv-minhnv/followers","following_url":"https://api.github.com/users/asv-minhnv/following{/other_user}","gists_url":"https://api.github.com/users/asv-minhnv/gists{/gist_id}","starred_url":"https://api.github.com/users/asv-minhnv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asv-minhnv/subscriptions","organizations_url":"https://api.github.com/users/asv-minhnv/orgs","repos_url":"https://api.github.com/users/asv-minhnv/repos","events_url":"https://api.github.com/users/asv-minhnv/events{/privacy}","received_events_url":"https://api.github.com/users/asv-minhnv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asv-minhnv/guestbook","description":"asv-minhnv guestbook","fork":false,"url":"https://api.github.com/repos/asv-minhnv/guestbook","forks_url":"https://api.github.com/repos/asv-minhnv/guestbook/forks","keys_url":"https://api.github.com/repos/asv-minhnv/guestbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asv-minhnv/guestbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asv-minhnv/guestbook/teams","hooks_url":"https://api.github.com/repos/asv-minhnv/guestbook/hooks","issue_events_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues/events{/number}","events_url":"https://api.github.com/repos/asv-minhnv/guestbook/events","assignees_url":"https://api.github.com/repos/asv-minhnv/guestbook/assignees{/user}","branches_url":"https://api.github.com/repos/asv-minhnv/guestbook/branches{/branch}","tags_url":"https://api.github.com/repos/asv-minhnv/guestbook/tags","blobs_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asv-minhnv/guestbook/statuses/{sha}","languages_url":"https://api.github.com/repos/asv-minhnv/guestbook/languages","stargazers_url":"https://api.github.com/repos/asv-minhnv/guestbook/stargazers","contributors_url":"https://api.github.com/repos/asv-minhnv/guestbook/contributors","subscribers_url":"https://api.github.com/repos/asv-minhnv/guestbook/subscribers","subscription_url":"https://api.github.com/repos/asv-minhnv/guestbook/subscription","commits_url":"https://api.github.com/repos/asv-minhnv/guestbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/asv-minhnv/guestbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/asv-minhnv/guestbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/asv-minhnv/guestbook/contents/{+path}","compare_url":"https://api.github.com/repos/asv-minhnv/guestbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asv-minhnv/guestbook/merges","archive_url":"https://api.github.com/repos/asv-minhnv/guestbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asv-minhnv/guestbook/downloads","issues_url":"https://api.github.com/repos/asv-minhnv/guestbook/issues{/number}","pulls_url":"https://api.github.com/repos/asv-minhnv/guestbook/pulls{/number}","milestones_url":"https://api.github.com/repos/asv-minhnv/guestbook/milestones{/number}","notifications_url":"https://api.github.com/repos/asv-minhnv/guestbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asv-minhnv/guestbook/labels{/name}","releases_url":"https://api.github.com/repos/asv-minhnv/guestbook/releases{/id}","created_at":"2015-10-06T09:12:10Z","updated_at":"2015-10-06T09:12:10Z","pushed_at":"2015-10-12T06:25:34Z","git_url":"git://github.com/asv-minhnv/guestbook.git","ssh_url":"git@github.com:asv-minhnv/guestbook.git","clone_url":"https://github.com/asv-minhnv/guestbook.git","svn_url":"https://github.com/asv-minhnv/guestbook","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5"},"html":{"href":"https://github.com/asv-minhnv/guestbook/pull/5"},"issue":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/issues/5"},"comments":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/asv-minhnv/guestbook/statuses/e58c9fe3de64bbd6f303b961ca0c6b6f11f78544"}}}}