{"action":"created","comment":{"url":"https://api.github.com/repos/pyfection/servare/pulls/comments/168617872","pull_request_review_id":97017582,"id":168617872,"diff_hunk":"@@ -1,9 +1,34 @@\n+\n+\n from django.views.generic import TemplateView\n \n+from user.models import Profile, UserLanguage\n+from word.models import Tag, Word, WordVersion\n+\n \n class ContribView(TemplateView):\n     template_name = 'contribute/main.html'\n \n+    def get(self, request, *args, **kwargs):\n+        context = self.get_context_data(**kwargs)\n+\n+        try:\n+            user_profile = Profile.objects.get(user=request.user)\n+        except TypeError:\n+            user_profile = None\n+\n+        if user_profile:","path":"contribute/views.py","position":20,"original_position":20,"commit_id":"b0b3df5aa67a185befb63776eb83e3d6514f12ec","original_commit_id":"b0b3df5aa67a185befb63776eb83e3d6514f12ec","user":{"login":"hedonazur","id":8113124,"avatar_url":"https://avatars3.githubusercontent.com/u/8113124?v=4","gravatar_id":"","url":"https://api.github.com/users/hedonazur","html_url":"https://github.com/hedonazur","followers_url":"https://api.github.com/users/hedonazur/followers","following_url":"https://api.github.com/users/hedonazur/following{/other_user}","gists_url":"https://api.github.com/users/hedonazur/gists{/gist_id}","starred_url":"https://api.github.com/users/hedonazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedonazur/subscriptions","organizations_url":"https://api.github.com/users/hedonazur/orgs","repos_url":"https://api.github.com/users/hedonazur/repos","events_url":"https://api.github.com/users/hedonazur/events{/privacy}","received_events_url":"https://api.github.com/users/hedonazur/received_events","type":"User","site_admin":false},"body":"thanks\r\n\r\n","created_at":"2018-02-15T21:45:34Z","updated_at":"2018-02-15T21:45:35Z","html_url":"https://github.com/pyfection/servare/pull/100#discussion_r168617872","pull_request_url":"https://api.github.com/repos/pyfection/servare/pulls/100","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/pyfection/servare/pulls/comments/168617872"},"html":{"href":"https://github.com/pyfection/servare/pull/100#discussion_r168617872"},"pull_request":{"href":"https://api.github.com/repos/pyfection/servare/pulls/100"}},"in_reply_to_id":168604159},"pull_request":{"url":"https://api.github.com/repos/pyfection/servare/pulls/100","id":168858641,"html_url":"https://github.com/pyfection/servare/pull/100","diff_url":"https://github.com/pyfection/servare/pull/100.diff","patch_url":"https://github.com/pyfection/servare/pull/100.patch","issue_url":"https://api.github.com/repos/pyfection/servare/issues/100","number":100,"state":"open","locked":false,"title":"New word suggestion","user":{"login":"hedonazur","id":8113124,"avatar_url":"https://avatars3.githubusercontent.com/u/8113124?v=4","gravatar_id":"","url":"https://api.github.com/users/hedonazur","html_url":"https://github.com/hedonazur","followers_url":"https://api.github.com/users/hedonazur/followers","following_url":"https://api.github.com/users/hedonazur/following{/other_user}","gists_url":"https://api.github.com/users/hedonazur/gists{/gist_id}","starred_url":"https://api.github.com/users/hedonazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedonazur/subscriptions","organizations_url":"https://api.github.com/users/hedonazur/orgs","repos_url":"https://api.github.com/users/hedonazur/repos","events_url":"https://api.github.com/users/hedonazur/events{/privacy}","received_events_url":"https://api.github.com/users/hedonazur/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-13T14:28:30Z","updated_at":"2018-02-15T21:45:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c3a41f68ecf44434f570581324eadc46688dd77","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pyfection/servare/pulls/100/commits","review_comments_url":"https://api.github.com/repos/pyfection/servare/pulls/100/comments","review_comment_url":"https://api.github.com/repos/pyfection/servare/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyfection/servare/issues/100/comments","statuses_url":"https://api.github.com/repos/pyfection/servare/statuses/b0b3df5aa67a185befb63776eb83e3d6514f12ec","head":{"label":"hedonazur:new_word_suggestion","ref":"new_word_suggestion","sha":"b0b3df5aa67a185befb63776eb83e3d6514f12ec","user":{"login":"hedonazur","id":8113124,"avatar_url":"https://avatars3.githubusercontent.com/u/8113124?v=4","gravatar_id":"","url":"https://api.github.com/users/hedonazur","html_url":"https://github.com/hedonazur","followers_url":"https://api.github.com/users/hedonazur/followers","following_url":"https://api.github.com/users/hedonazur/following{/other_user}","gists_url":"https://api.github.com/users/hedonazur/gists{/gist_id}","starred_url":"https://api.github.com/users/hedonazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedonazur/subscriptions","organizations_url":"https://api.github.com/users/hedonazur/orgs","repos_url":"https://api.github.com/users/hedonazur/repos","events_url":"https://api.github.com/users/hedonazur/events{/privacy}","received_events_url":"https://api.github.com/users/hedonazur/received_events","type":"User","site_admin":false},"repo":{"id":117630489,"name":"servare","full_name":"hedonazur/servare","owner":{"login":"hedonazur","id":8113124,"avatar_url":"https://avatars3.githubusercontent.com/u/8113124?v=4","gravatar_id":"","url":"https://api.github.com/users/hedonazur","html_url":"https://github.com/hedonazur","followers_url":"https://api.github.com/users/hedonazur/followers","following_url":"https://api.github.com/users/hedonazur/following{/other_user}","gists_url":"https://api.github.com/users/hedonazur/gists{/gist_id}","starred_url":"https://api.github.com/users/hedonazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hedonazur/subscriptions","organizations_url":"https://api.github.com/users/hedonazur/orgs","repos_url":"https://api.github.com/users/hedonazur/repos","events_url":"https://api.github.com/users/hedonazur/events{/privacy}","received_events_url":"https://api.github.com/users/hedonazur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hedonazur/servare","description":"The Django code for the website","fork":true,"url":"https://api.github.com/repos/hedonazur/servare","forks_url":"https://api.github.com/repos/hedonazur/servare/forks","keys_url":"https://api.github.com/repos/hedonazur/servare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hedonazur/servare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hedonazur/servare/teams","hooks_url":"https://api.github.com/repos/hedonazur/servare/hooks","issue_events_url":"https://api.github.com/repos/hedonazur/servare/issues/events{/number}","events_url":"https://api.github.com/repos/hedonazur/servare/events","assignees_url":"https://api.github.com/repos/hedonazur/servare/assignees{/user}","branches_url":"https://api.github.com/repos/hedonazur/servare/branches{/branch}","tags_url":"https://api.github.com/repos/hedonazur/servare/tags","blobs_url":"https://api.github.com/repos/hedonazur/servare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hedonazur/servare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hedonazur/servare/git/refs{/sha}","trees_url":"https://api.github.com/repos/hedonazur/servare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hedonazur/servare/statuses/{sha}","languages_url":"https://api.github.com/repos/hedonazur/servare/languages","stargazers_url":"https://api.github.com/repos/hedonazur/servare/stargazers","contributors_url":"https://api.github.com/repos/hedonazur/servare/contributors","subscribers_url":"https://api.github.com/repos/hedonazur/servare/subscribers","subscription_url":"https://api.github.com/repos/hedonazur/servare/subscription","commits_url":"https://api.github.com/repos/hedonazur/servare/commits{/sha}","git_commits_url":"https://api.github.com/repos/hedonazur/servare/git/commits{/sha}","comments_url":"https://api.github.com/repos/hedonazur/servare/comments{/number}","issue_comment_url":"https://api.github.com/repos/hedonazur/servare/issues/comments{/number}","contents_url":"https://api.github.com/repos/hedonazur/servare/contents/{+path}","compare_url":"https://api.github.com/repos/hedonazur/servare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hedonazur/servare/merges","archive_url":"https://api.github.com/repos/hedonazur/servare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hedonazur/servare/downloads","issues_url":"https://api.github.com/repos/hedonazur/servare/issues{/number}","pulls_url":"https://api.github.com/repos/hedonazur/servare/pulls{/number}","milestones_url":"https://api.github.com/repos/hedonazur/servare/milestones{/number}","notifications_url":"https://api.github.com/repos/hedonazur/servare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hedonazur/servare/labels{/name}","releases_url":"https://api.github.com/repos/hedonazur/servare/releases{/id}","deployments_url":"https://api.github.com/repos/hedonazur/servare/deployments","created_at":"2018-01-16T04:18:42Z","updated_at":"2018-01-16T04:18:44Z","pushed_at":"2018-02-14T15:55:26Z","git_url":"git://github.com/hedonazur/servare.git","ssh_url":"git@github.com:hedonazur/servare.git","clone_url":"https://github.com/hedonazur/servare.git","svn_url":"https://github.com/hedonazur/servare","homepage":"http://www.servare.org","size":938,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pyfection:master","ref":"master","sha":"4a2383c5615ffe4a1823faec7cbc972b9b85d310","user":{"login":"pyfection","id":24829389,"avatar_url":"https://avatars1.githubusercontent.com/u/24829389?v=4","gravatar_id":"","url":"https://api.github.com/users/pyfection","html_url":"https://github.com/pyfection","followers_url":"https://api.github.com/users/pyfection/followers","following_url":"https://api.github.com/users/pyfection/following{/other_user}","gists_url":"https://api.github.com/users/pyfection/gists{/gist_id}","starred_url":"https://api.github.com/users/pyfection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyfection/subscriptions","organizations_url":"https://api.github.com/users/pyfection/orgs","repos_url":"https://api.github.com/users/pyfection/repos","events_url":"https://api.github.com/users/pyfection/events{/privacy}","received_events_url":"https://api.github.com/users/pyfection/received_events","type":"User","site_admin":false},"repo":{"id":54128834,"name":"servare","full_name":"pyfection/servare","owner":{"login":"pyfection","id":24829389,"avatar_url":"https://avatars1.githubusercontent.com/u/24829389?v=4","gravatar_id":"","url":"https://api.github.com/users/pyfection","html_url":"https://github.com/pyfection","followers_url":"https://api.github.com/users/pyfection/followers","following_url":"https://api.github.com/users/pyfection/following{/other_user}","gists_url":"https://api.github.com/users/pyfection/gists{/gist_id}","starred_url":"https://api.github.com/users/pyfection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyfection/subscriptions","organizations_url":"https://api.github.com/users/pyfection/orgs","repos_url":"https://api.github.com/users/pyfection/repos","events_url":"https://api.github.com/users/pyfection/events{/privacy}","received_events_url":"https://api.github.com/users/pyfection/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pyfection/servare","description":"The Django code for the website","fork":false,"url":"https://api.github.com/repos/pyfection/servare","forks_url":"https://api.github.com/repos/pyfection/servare/forks","keys_url":"https://api.github.com/repos/pyfection/servare/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyfection/servare/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyfection/servare/teams","hooks_url":"https://api.github.com/repos/pyfection/servare/hooks","issue_events_url":"https://api.github.com/repos/pyfection/servare/issues/events{/number}","events_url":"https://api.github.com/repos/pyfection/servare/events","assignees_url":"https://api.github.com/repos/pyfection/servare/assignees{/user}","branches_url":"https://api.github.com/repos/pyfection/servare/branches{/branch}","tags_url":"https://api.github.com/repos/pyfection/servare/tags","blobs_url":"https://api.github.com/repos/pyfection/servare/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyfection/servare/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyfection/servare/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyfection/servare/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyfection/servare/statuses/{sha}","languages_url":"https://api.github.com/repos/pyfection/servare/languages","stargazers_url":"https://api.github.com/repos/pyfection/servare/stargazers","contributors_url":"https://api.github.com/repos/pyfection/servare/contributors","subscribers_url":"https://api.github.com/repos/pyfection/servare/subscribers","subscription_url":"https://api.github.com/repos/pyfection/servare/subscription","commits_url":"https://api.github.com/repos/pyfection/servare/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyfection/servare/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyfection/servare/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyfection/servare/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyfection/servare/contents/{+path}","compare_url":"https://api.github.com/repos/pyfection/servare/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyfection/servare/merges","archive_url":"https://api.github.com/repos/pyfection/servare/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyfection/servare/downloads","issues_url":"https://api.github.com/repos/pyfection/servare/issues{/number}","pulls_url":"https://api.github.com/repos/pyfection/servare/pulls{/number}","milestones_url":"https://api.github.com/repos/pyfection/servare/milestones{/number}","notifications_url":"https://api.github.com/repos/pyfection/servare/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyfection/servare/labels{/name}","releases_url":"https://api.github.com/repos/pyfection/servare/releases{/id}","deployments_url":"https://api.github.com/repos/pyfection/servare/deployments","created_at":"2016-03-17T15:21:50Z","updated_at":"2018-01-15T22:28:48Z","pushed_at":"2018-02-14T15:55:27Z","git_url":"git://github.com/pyfection/servare.git","ssh_url":"git@github.com:pyfection/servare.git","clone_url":"https://github.com/pyfection/servare.git","svn_url":"https://github.com/pyfection/servare","homepage":"http://www.servare.org","size":841,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":21,"license":null,"forks":2,"open_issues":21,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyfection/servare/pulls/100"},"html":{"href":"https://github.com/pyfection/servare/pull/100"},"issue":{"href":"https://api.github.com/repos/pyfection/servare/issues/100"},"comments":{"href":"https://api.github.com/repos/pyfection/servare/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/pyfection/servare/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/pyfection/servare/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyfection/servare/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/pyfection/servare/statuses/b0b3df5aa67a185befb63776eb83e3d6514f12ec"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"hedonazur"}}