{"action":"created","comment":{"url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/comments/61630703","id":61630703,"diff_hunk":"@@ -39,5 +50,40 @@ class TicketDetailSerializer(TicketListSerializer):\n \n     class Meta:\n         model = Ticket\n-        fields = ('id', 'title', 'state', 'priority', 'customer', 'created', 'updated', 'project_title',\n+        fields = ('id', 'title', 'state', 'priority', 'customer', 'created', 'updated', 'project', 'project_title',\n                   'customer_name', 'assignee', 'body', 'comments')\n+    \n+    \n+    def validate(self, data):","path":"helpdesk/serializers.py","position":39,"original_position":39,"commit_id":"10061a8559e63a277cbad208484aed553da9b7c9","original_commit_id":"10061a8559e63a277cbad208484aed553da9b7c9","user":{"login":"ookami-kb","id":853356,"avatar_url":"https://avatars.githubusercontent.com/u/853356?v=3","gravatar_id":"","url":"https://api.github.com/users/ookami-kb","html_url":"https://github.com/ookami-kb","followers_url":"https://api.github.com/users/ookami-kb/followers","following_url":"https://api.github.com/users/ookami-kb/following{/other_user}","gists_url":"https://api.github.com/users/ookami-kb/gists{/gist_id}","starred_url":"https://api.github.com/users/ookami-kb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ookami-kb/subscriptions","organizations_url":"https://api.github.com/users/ookami-kb/orgs","repos_url":"https://api.github.com/users/ookami-kb/repos","events_url":"https://api.github.com/users/ookami-kb/events{/privacy}","received_events_url":"https://api.github.com/users/ookami-kb/received_events","type":"User","site_admin":false},"body":"Да не, оставляем так.","created_at":"2016-04-29T19:11:40Z","updated_at":"2016-04-29T19:11:40Z","html_url":"https://github.com/ookami-kb/django-simple-helpdesk/pull/5#discussion_r61630703","pull_request_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/comments/61630703"},"html":{"href":"https://github.com/ookami-kb/django-simple-helpdesk/pull/5#discussion_r61630703"},"pull_request":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5","id":68194147,"html_url":"https://github.com/ookami-kb/django-simple-helpdesk/pull/5","diff_url":"https://github.com/ookami-kb/django-simple-helpdesk/pull/5.diff","patch_url":"https://github.com/ookami-kb/django-simple-helpdesk/pull/5.patch","issue_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues/5","number":5,"state":"open","locked":false,"title":"Patch method for ticket","user":{"login":"stpnk","id":1956123,"avatar_url":"https://avatars.githubusercontent.com/u/1956123?v=3","gravatar_id":"","url":"https://api.github.com/users/stpnk","html_url":"https://github.com/stpnk","followers_url":"https://api.github.com/users/stpnk/followers","following_url":"https://api.github.com/users/stpnk/following{/other_user}","gists_url":"https://api.github.com/users/stpnk/gists{/gist_id}","starred_url":"https://api.github.com/users/stpnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stpnk/subscriptions","organizations_url":"https://api.github.com/users/stpnk/orgs","repos_url":"https://api.github.com/users/stpnk/repos","events_url":"https://api.github.com/users/stpnk/events{/privacy}","received_events_url":"https://api.github.com/users/stpnk/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-28T10:00:37Z","updated_at":"2016-04-29T19:11:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fc74aa4b4f2f0426909b33c87c29c565536e33d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues/5/comments","statuses_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/statuses/10061a8559e63a277cbad208484aed553da9b7c9","head":{"label":"stpnk:issue_4","ref":"issue_4","sha":"10061a8559e63a277cbad208484aed553da9b7c9","user":{"login":"stpnk","id":1956123,"avatar_url":"https://avatars.githubusercontent.com/u/1956123?v=3","gravatar_id":"","url":"https://api.github.com/users/stpnk","html_url":"https://github.com/stpnk","followers_url":"https://api.github.com/users/stpnk/followers","following_url":"https://api.github.com/users/stpnk/following{/other_user}","gists_url":"https://api.github.com/users/stpnk/gists{/gist_id}","starred_url":"https://api.github.com/users/stpnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stpnk/subscriptions","organizations_url":"https://api.github.com/users/stpnk/orgs","repos_url":"https://api.github.com/users/stpnk/repos","events_url":"https://api.github.com/users/stpnk/events{/privacy}","received_events_url":"https://api.github.com/users/stpnk/received_events","type":"User","site_admin":false},"repo":{"id":56958939,"name":"django-simple-helpdesk","full_name":"stpnk/django-simple-helpdesk","owner":{"login":"stpnk","id":1956123,"avatar_url":"https://avatars.githubusercontent.com/u/1956123?v=3","gravatar_id":"","url":"https://api.github.com/users/stpnk","html_url":"https://github.com/stpnk","followers_url":"https://api.github.com/users/stpnk/followers","following_url":"https://api.github.com/users/stpnk/following{/other_user}","gists_url":"https://api.github.com/users/stpnk/gists{/gist_id}","starred_url":"https://api.github.com/users/stpnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stpnk/subscriptions","organizations_url":"https://api.github.com/users/stpnk/orgs","repos_url":"https://api.github.com/users/stpnk/repos","events_url":"https://api.github.com/users/stpnk/events{/privacy}","received_events_url":"https://api.github.com/users/stpnk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stpnk/django-simple-helpdesk","description":"Simple helpdesk solution for Django","fork":true,"url":"https://api.github.com/repos/stpnk/django-simple-helpdesk","forks_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/forks","keys_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/teams","hooks_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/hooks","issue_events_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/issues/events{/number}","events_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/events","assignees_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/assignees{/user}","branches_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/branches{/branch}","tags_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/tags","blobs_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/languages","stargazers_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/stargazers","contributors_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/contributors","subscribers_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/subscribers","subscription_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/subscription","commits_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/contents/{+path}","compare_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/merges","archive_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/downloads","issues_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/issues{/number}","pulls_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/labels{/name}","releases_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/releases{/id}","deployments_url":"https://api.github.com/repos/stpnk/django-simple-helpdesk/deployments","created_at":"2016-04-24T07:06:07Z","updated_at":"2016-04-24T07:06:08Z","pushed_at":"2016-04-28T09:55:54Z","git_url":"git://github.com/stpnk/django-simple-helpdesk.git","ssh_url":"git@github.com:stpnk/django-simple-helpdesk.git","clone_url":"https://github.com/stpnk/django-simple-helpdesk.git","svn_url":"https://github.com/stpnk/django-simple-helpdesk","homepage":"https://pypi.python.org/pypi/django-simple-helpdesk","size":675,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"ookami-kb:feature-angular","ref":"feature-angular","sha":"c1b8a4e9d2e0468b44daa2000e32188690106cb8","user":{"login":"ookami-kb","id":853356,"avatar_url":"https://avatars.githubusercontent.com/u/853356?v=3","gravatar_id":"","url":"https://api.github.com/users/ookami-kb","html_url":"https://github.com/ookami-kb","followers_url":"https://api.github.com/users/ookami-kb/followers","following_url":"https://api.github.com/users/ookami-kb/following{/other_user}","gists_url":"https://api.github.com/users/ookami-kb/gists{/gist_id}","starred_url":"https://api.github.com/users/ookami-kb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ookami-kb/subscriptions","organizations_url":"https://api.github.com/users/ookami-kb/orgs","repos_url":"https://api.github.com/users/ookami-kb/repos","events_url":"https://api.github.com/users/ookami-kb/events{/privacy}","received_events_url":"https://api.github.com/users/ookami-kb/received_events","type":"User","site_admin":false},"repo":{"id":30071417,"name":"django-simple-helpdesk","full_name":"ookami-kb/django-simple-helpdesk","owner":{"login":"ookami-kb","id":853356,"avatar_url":"https://avatars.githubusercontent.com/u/853356?v=3","gravatar_id":"","url":"https://api.github.com/users/ookami-kb","html_url":"https://github.com/ookami-kb","followers_url":"https://api.github.com/users/ookami-kb/followers","following_url":"https://api.github.com/users/ookami-kb/following{/other_user}","gists_url":"https://api.github.com/users/ookami-kb/gists{/gist_id}","starred_url":"https://api.github.com/users/ookami-kb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ookami-kb/subscriptions","organizations_url":"https://api.github.com/users/ookami-kb/orgs","repos_url":"https://api.github.com/users/ookami-kb/repos","events_url":"https://api.github.com/users/ookami-kb/events{/privacy}","received_events_url":"https://api.github.com/users/ookami-kb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ookami-kb/django-simple-helpdesk","description":"Simple helpdesk solution for Django","fork":false,"url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk","forks_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/forks","keys_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/teams","hooks_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/hooks","issue_events_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues/events{/number}","events_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/events","assignees_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/assignees{/user}","branches_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/branches{/branch}","tags_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/tags","blobs_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/git/refs{/sha}","trees_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/statuses/{sha}","languages_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/languages","stargazers_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/stargazers","contributors_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/contributors","subscribers_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/subscribers","subscription_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/subscription","commits_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/commits{/sha}","git_commits_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/git/commits{/sha}","comments_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/comments{/number}","issue_comment_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues/comments{/number}","contents_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/contents/{+path}","compare_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/merges","archive_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/downloads","issues_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues{/number}","pulls_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls{/number}","milestones_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/milestones{/number}","notifications_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/labels{/name}","releases_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/releases{/id}","deployments_url":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/deployments","created_at":"2015-01-30T12:37:49Z","updated_at":"2016-04-22T17:05:28Z","pushed_at":"2016-04-28T10:00:38Z","git_url":"git://github.com/ookami-kb/django-simple-helpdesk.git","ssh_url":"git@github.com:ookami-kb/django-simple-helpdesk.git","clone_url":"https://github.com/ookami-kb/django-simple-helpdesk.git","svn_url":"https://github.com/ookami-kb/django-simple-helpdesk","homepage":"https://pypi.python.org/pypi/django-simple-helpdesk","size":673,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5"},"html":{"href":"https://github.com/ookami-kb/django-simple-helpdesk/pull/5"},"issue":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues/5"},"comments":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ookami-kb/django-simple-helpdesk/statuses/10061a8559e63a277cbad208484aed553da9b7c9"}}}}