{"action":"created","comment":{"url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/comments/29128302","id":29128302,"diff_hunk":"@@ -108,6 +108,8 @@ def knowledge_thread(request,\n     try:\n         question = Question.objects.can_view(request.user)\\\n                                    .get(id=question_id)\n+        question.hits = question.hits+1","path":"knowledge/views.py","position":4,"original_position":4,"commit_id":"731225796f9b640366707123d73fc43f7fa1518b","original_commit_id":"731225796f9b640366707123d73fc43f7fa1518b","user":{"login":"lwolf","id":6144353,"avatar_url":"https://avatars.githubusercontent.com/u/6144353?v=3","gravatar_id":"","url":"https://api.github.com/users/lwolf","html_url":"https://github.com/lwolf","followers_url":"https://api.github.com/users/lwolf/followers","following_url":"https://api.github.com/users/lwolf/following{/other_user}","gists_url":"https://api.github.com/users/lwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/lwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwolf/subscriptions","organizations_url":"https://api.github.com/users/lwolf/orgs","repos_url":"https://api.github.com/users/lwolf/repos","events_url":"https://api.github.com/users/lwolf/events{/privacy}","received_events_url":"https://api.github.com/users/lwolf/received_events","type":"User","site_admin":false},"body":"operators should have spaces from both sides\r\n`question.hits + 1`","created_at":"2015-04-27T08:28:46Z","updated_at":"2015-04-27T08:28:46Z","html_url":"https://github.com/Cantemo/django-knowledge/pull/5#discussion_r29128302","pull_request_url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/comments/29128302"},"html":{"href":"https://github.com/Cantemo/django-knowledge/pull/5#discussion_r29128302"},"pull_request":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5","id":34147994,"html_url":"https://github.com/Cantemo/django-knowledge/pull/5","diff_url":"https://github.com/Cantemo/django-knowledge/pull/5.diff","patch_url":"https://github.com/Cantemo/django-knowledge/pull/5.patch","issue_url":"https://api.github.com/repos/Cantemo/django-knowledge/issues/5","number":5,"state":"open","locked":false,"title":"Updated models + admin.py","user":{"login":"OliwerKrumlinde","id":9349055,"avatar_url":"https://avatars.githubusercontent.com/u/9349055?v=3","gravatar_id":"","url":"https://api.github.com/users/OliwerKrumlinde","html_url":"https://github.com/OliwerKrumlinde","followers_url":"https://api.github.com/users/OliwerKrumlinde/followers","following_url":"https://api.github.com/users/OliwerKrumlinde/following{/other_user}","gists_url":"https://api.github.com/users/OliwerKrumlinde/gists{/gist_id}","starred_url":"https://api.github.com/users/OliwerKrumlinde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliwerKrumlinde/subscriptions","organizations_url":"https://api.github.com/users/OliwerKrumlinde/orgs","repos_url":"https://api.github.com/users/OliwerKrumlinde/repos","events_url":"https://api.github.com/users/OliwerKrumlinde/events{/privacy}","received_events_url":"https://api.github.com/users/OliwerKrumlinde/received_events","type":"User","site_admin":false},"body":"Admin: Filter status and actions added\r\nModel: Recommended flag and hits added","created_at":"2015-04-27T08:22:55Z","updated_at":"2015-04-27T08:28:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c44f6d5ea0758ed0d01b16bf825a0b3a5d7aa0b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cantemo/django-knowledge/issues/5/comments","statuses_url":"https://api.github.com/repos/Cantemo/django-knowledge/statuses/731225796f9b640366707123d73fc43f7fa1518b","head":{"label":"OliwerKrumlinde:admin-and-model-changes","ref":"admin-and-model-changes","sha":"731225796f9b640366707123d73fc43f7fa1518b","user":{"login":"OliwerKrumlinde","id":9349055,"avatar_url":"https://avatars.githubusercontent.com/u/9349055?v=3","gravatar_id":"","url":"https://api.github.com/users/OliwerKrumlinde","html_url":"https://github.com/OliwerKrumlinde","followers_url":"https://api.github.com/users/OliwerKrumlinde/followers","following_url":"https://api.github.com/users/OliwerKrumlinde/following{/other_user}","gists_url":"https://api.github.com/users/OliwerKrumlinde/gists{/gist_id}","starred_url":"https://api.github.com/users/OliwerKrumlinde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliwerKrumlinde/subscriptions","organizations_url":"https://api.github.com/users/OliwerKrumlinde/orgs","repos_url":"https://api.github.com/users/OliwerKrumlinde/repos","events_url":"https://api.github.com/users/OliwerKrumlinde/events{/privacy}","received_events_url":"https://api.github.com/users/OliwerKrumlinde/received_events","type":"User","site_admin":false},"repo":{"id":34377756,"name":"django-knowledge","full_name":"OliwerKrumlinde/django-knowledge","owner":{"login":"OliwerKrumlinde","id":9349055,"avatar_url":"https://avatars.githubusercontent.com/u/9349055?v=3","gravatar_id":"","url":"https://api.github.com/users/OliwerKrumlinde","html_url":"https://github.com/OliwerKrumlinde","followers_url":"https://api.github.com/users/OliwerKrumlinde/followers","following_url":"https://api.github.com/users/OliwerKrumlinde/following{/other_user}","gists_url":"https://api.github.com/users/OliwerKrumlinde/gists{/gist_id}","starred_url":"https://api.github.com/users/OliwerKrumlinde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OliwerKrumlinde/subscriptions","organizations_url":"https://api.github.com/users/OliwerKrumlinde/orgs","repos_url":"https://api.github.com/users/OliwerKrumlinde/repos","events_url":"https://api.github.com/users/OliwerKrumlinde/events{/privacy}","received_events_url":"https://api.github.com/users/OliwerKrumlinde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OliwerKrumlinde/django-knowledge","description":"Add a help desk or knowledge base to your Django project with only a few lines of boilerplate code.","fork":true,"url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge","forks_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/forks","keys_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/teams","hooks_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/hooks","issue_events_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/issues/events{/number}","events_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/events","assignees_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/assignees{/user}","branches_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/branches{/branch}","tags_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/tags","blobs_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/git/refs{/sha}","trees_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/statuses/{sha}","languages_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/languages","stargazers_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/stargazers","contributors_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/contributors","subscribers_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/subscribers","subscription_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/subscription","commits_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/commits{/sha}","git_commits_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/git/commits{/sha}","comments_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/comments{/number}","issue_comment_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/issues/comments{/number}","contents_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/contents/{+path}","compare_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/merges","archive_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/downloads","issues_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/issues{/number}","pulls_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/pulls{/number}","milestones_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/milestones{/number}","notifications_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/labels{/name}","releases_url":"https://api.github.com/repos/OliwerKrumlinde/django-knowledge/releases{/id}","created_at":"2015-04-22T08:14:00Z","updated_at":"2015-04-22T08:14:01Z","pushed_at":"2015-04-27T08:21:12Z","git_url":"git://github.com/OliwerKrumlinde/django-knowledge.git","ssh_url":"git@github.com:OliwerKrumlinde/django-knowledge.git","clone_url":"https://github.com/OliwerKrumlinde/django-knowledge.git","svn_url":"https://github.com/OliwerKrumlinde/django-knowledge","homepage":"http://github.com/Cantemo/django-knowledge","size":1247,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Cantemo:master","ref":"master","sha":"30c8ce4a8fe1887b24f8bfb97716ceccb93021c9","user":{"login":"Cantemo","id":1115696,"avatar_url":"https://avatars.githubusercontent.com/u/1115696?v=3","gravatar_id":"","url":"https://api.github.com/users/Cantemo","html_url":"https://github.com/Cantemo","followers_url":"https://api.github.com/users/Cantemo/followers","following_url":"https://api.github.com/users/Cantemo/following{/other_user}","gists_url":"https://api.github.com/users/Cantemo/gists{/gist_id}","starred_url":"https://api.github.com/users/Cantemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cantemo/subscriptions","organizations_url":"https://api.github.com/users/Cantemo/orgs","repos_url":"https://api.github.com/users/Cantemo/repos","events_url":"https://api.github.com/users/Cantemo/events{/privacy}","received_events_url":"https://api.github.com/users/Cantemo/received_events","type":"Organization","site_admin":false},"repo":{"id":28136491,"name":"django-knowledge","full_name":"Cantemo/django-knowledge","owner":{"login":"Cantemo","id":1115696,"avatar_url":"https://avatars.githubusercontent.com/u/1115696?v=3","gravatar_id":"","url":"https://api.github.com/users/Cantemo","html_url":"https://github.com/Cantemo","followers_url":"https://api.github.com/users/Cantemo/followers","following_url":"https://api.github.com/users/Cantemo/following{/other_user}","gists_url":"https://api.github.com/users/Cantemo/gists{/gist_id}","starred_url":"https://api.github.com/users/Cantemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cantemo/subscriptions","organizations_url":"https://api.github.com/users/Cantemo/orgs","repos_url":"https://api.github.com/users/Cantemo/repos","events_url":"https://api.github.com/users/Cantemo/events{/privacy}","received_events_url":"https://api.github.com/users/Cantemo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cantemo/django-knowledge","description":"Add a help desk or knowledge base to your Django project with only a few lines of boilerplate code.","fork":true,"url":"https://api.github.com/repos/Cantemo/django-knowledge","forks_url":"https://api.github.com/repos/Cantemo/django-knowledge/forks","keys_url":"https://api.github.com/repos/Cantemo/django-knowledge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cantemo/django-knowledge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cantemo/django-knowledge/teams","hooks_url":"https://api.github.com/repos/Cantemo/django-knowledge/hooks","issue_events_url":"https://api.github.com/repos/Cantemo/django-knowledge/issues/events{/number}","events_url":"https://api.github.com/repos/Cantemo/django-knowledge/events","assignees_url":"https://api.github.com/repos/Cantemo/django-knowledge/assignees{/user}","branches_url":"https://api.github.com/repos/Cantemo/django-knowledge/branches{/branch}","tags_url":"https://api.github.com/repos/Cantemo/django-knowledge/tags","blobs_url":"https://api.github.com/repos/Cantemo/django-knowledge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cantemo/django-knowledge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cantemo/django-knowledge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cantemo/django-knowledge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cantemo/django-knowledge/statuses/{sha}","languages_url":"https://api.github.com/repos/Cantemo/django-knowledge/languages","stargazers_url":"https://api.github.com/repos/Cantemo/django-knowledge/stargazers","contributors_url":"https://api.github.com/repos/Cantemo/django-knowledge/contributors","subscribers_url":"https://api.github.com/repos/Cantemo/django-knowledge/subscribers","subscription_url":"https://api.github.com/repos/Cantemo/django-knowledge/subscription","commits_url":"https://api.github.com/repos/Cantemo/django-knowledge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cantemo/django-knowledge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cantemo/django-knowledge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cantemo/django-knowledge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cantemo/django-knowledge/contents/{+path}","compare_url":"https://api.github.com/repos/Cantemo/django-knowledge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cantemo/django-knowledge/merges","archive_url":"https://api.github.com/repos/Cantemo/django-knowledge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cantemo/django-knowledge/downloads","issues_url":"https://api.github.com/repos/Cantemo/django-knowledge/issues{/number}","pulls_url":"https://api.github.com/repos/Cantemo/django-knowledge/pulls{/number}","milestones_url":"https://api.github.com/repos/Cantemo/django-knowledge/milestones{/number}","notifications_url":"https://api.github.com/repos/Cantemo/django-knowledge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cantemo/django-knowledge/labels{/name}","releases_url":"https://api.github.com/repos/Cantemo/django-knowledge/releases{/id}","created_at":"2014-12-17T12:33:05Z","updated_at":"2015-04-22T08:54:30Z","pushed_at":"2015-04-27T08:22:55Z","git_url":"git://github.com/Cantemo/django-knowledge.git","ssh_url":"git@github.com:Cantemo/django-knowledge.git","clone_url":"https://github.com/Cantemo/django-knowledge.git","svn_url":"https://github.com/Cantemo/django-knowledge","homepage":"http://github.com/Cantemo/django-knowledge","size":1247,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5"},"html":{"href":"https://github.com/Cantemo/django-knowledge/pull/5"},"issue":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/issues/5"},"comments":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Cantemo/django-knowledge/statuses/731225796f9b640366707123d73fc43f7fa1518b"}}}}