{"action":"created","comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/75292060","id":75292060,"diff_hunk":"@@ -0,0 +1,24 @@\n+#!/usr/bin/python","path":"zds/poll/api/serializers.py","position":1,"original_position":1,"commit_id":"acaa8feaf83626a9cdbf04f4bc044a203f465604","original_commit_id":"acaa8feaf83626a9cdbf04f4bc044a203f465604","user":{"login":"gustavi","id":2736557,"avatar_url":"https://avatars.githubusercontent.com/u/2736557?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavi","html_url":"https://github.com/gustavi","followers_url":"https://api.github.com/users/gustavi/followers","following_url":"https://api.github.com/users/gustavi/following{/other_user}","gists_url":"https://api.github.com/users/gustavi/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavi/subscriptions","organizations_url":"https://api.github.com/users/gustavi/orgs","repos_url":"https://api.github.com/users/gustavi/repos","events_url":"https://api.github.com/users/gustavi/events{/privacy}","received_events_url":"https://api.github.com/users/gustavi/received_events","type":"User","site_admin":false},"body":"Cette ligne est inutile dans des fichiers qui ne seront pas exécutés directement (idem pour tous les autres fichiers plus bas)","created_at":"2016-08-18T11:35:55Z","updated_at":"2016-08-18T11:35:55Z","html_url":"https://github.com/zestedesavoir/zds-site/pull/3772#discussion_r75292060","pull_request_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772","_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/75292060"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/3772#discussion_r75292060"},"pull_request":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772"}}},"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772","id":81799271,"html_url":"https://github.com/zestedesavoir/zds-site/pull/3772","diff_url":"https://github.com/zestedesavoir/zds-site/pull/3772.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/3772.patch","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3772","number":3772,"state":"open","locked":false,"title":"[WIP] ZEP-09 : sondages","user":{"login":"Emeric54","id":11984858,"avatar_url":"https://avatars.githubusercontent.com/u/11984858?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeric54","html_url":"https://github.com/Emeric54","followers_url":"https://api.github.com/users/Emeric54/followers","following_url":"https://api.github.com/users/Emeric54/following{/other_user}","gists_url":"https://api.github.com/users/Emeric54/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeric54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeric54/subscriptions","organizations_url":"https://api.github.com/users/Emeric54/orgs","repos_url":"https://api.github.com/users/Emeric54/repos","events_url":"https://api.github.com/users/Emeric54/events{/privacy}","received_events_url":"https://api.github.com/users/Emeric54/received_events","type":"User","site_admin":false},"body":"| Q                                   | R\r\n| ----------------------------------- | -------------------------------------------\r\n| Type de modification                | Nouvelle fonctionnalité\r\n| Ticket(s) (_issue(s)_) concerné(s)  | [ZEP-09](https://zestedesavoir.com/forums/sujet/729/zep-09-sondages/)\r\n\r\nBon, voilà cette PR pour la ZEP-09. Notez bien que c'est encore un WIP, il reste pas mal de choses à faire. En ouvrant cette PR tout de suite, vous pourrez facilement me faire vos remarques, car il y a très certainement beaucoup de choses à modifier (patapé !).\r\n\r\nAu niveau du back-end, il reste : \r\n\r\n - les test ;\r\n\r\n- finir l'API, selon ce qui a été dit [ici](https://github.com/zestedesavoir/zds-site/issues/3700#issuecomment-238351328).\r\n\r\nConcernant ça, j'ai pas mal avancé en local, je pusherais ça ASAP.\r\n\r\nCôté front, tout est à faire, et il vaut mieux que ce ne soit pas moi qui m'en charge... :-°\r\n\r\nL'historique git est assez chaotique : une fois que tout sera fini, je créerais sûrement une nouvelle branche toute belle tout propre pour le merge.\r\n\r\nMerci d'avance pour vos commentaires.","created_at":"2016-08-18T11:24:31Z","updated_at":"2016-08-18T11:35:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ed75d7bb8215e47ab32abf230f3a4d424554d44","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772/commits","review_comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772/comments","review_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3772/comments","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/acaa8feaf83626a9cdbf04f4bc044a203f465604","head":{"label":"Emeric54:ZEP-09","ref":"ZEP-09","sha":"acaa8feaf83626a9cdbf04f4bc044a203f465604","user":{"login":"Emeric54","id":11984858,"avatar_url":"https://avatars.githubusercontent.com/u/11984858?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeric54","html_url":"https://github.com/Emeric54","followers_url":"https://api.github.com/users/Emeric54/followers","following_url":"https://api.github.com/users/Emeric54/following{/other_user}","gists_url":"https://api.github.com/users/Emeric54/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeric54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeric54/subscriptions","organizations_url":"https://api.github.com/users/Emeric54/orgs","repos_url":"https://api.github.com/users/Emeric54/repos","events_url":"https://api.github.com/users/Emeric54/events{/privacy}","received_events_url":"https://api.github.com/users/Emeric54/received_events","type":"User","site_admin":false},"repo":{"id":44167259,"name":"zds-site","full_name":"Emeric54/zds-site","owner":{"login":"Emeric54","id":11984858,"avatar_url":"https://avatars.githubusercontent.com/u/11984858?v=3","gravatar_id":"","url":"https://api.github.com/users/Emeric54","html_url":"https://github.com/Emeric54","followers_url":"https://api.github.com/users/Emeric54/followers","following_url":"https://api.github.com/users/Emeric54/following{/other_user}","gists_url":"https://api.github.com/users/Emeric54/gists{/gist_id}","starred_url":"https://api.github.com/users/Emeric54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Emeric54/subscriptions","organizations_url":"https://api.github.com/users/Emeric54/orgs","repos_url":"https://api.github.com/users/Emeric54/repos","events_url":"https://api.github.com/users/Emeric54/events{/privacy}","received_events_url":"https://api.github.com/users/Emeric54/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Emeric54/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/Emeric54/zds-site","forks_url":"https://api.github.com/repos/Emeric54/zds-site/forks","keys_url":"https://api.github.com/repos/Emeric54/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Emeric54/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Emeric54/zds-site/teams","hooks_url":"https://api.github.com/repos/Emeric54/zds-site/hooks","issue_events_url":"https://api.github.com/repos/Emeric54/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/Emeric54/zds-site/events","assignees_url":"https://api.github.com/repos/Emeric54/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/Emeric54/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/Emeric54/zds-site/tags","blobs_url":"https://api.github.com/repos/Emeric54/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Emeric54/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Emeric54/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/Emeric54/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Emeric54/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/Emeric54/zds-site/languages","stargazers_url":"https://api.github.com/repos/Emeric54/zds-site/stargazers","contributors_url":"https://api.github.com/repos/Emeric54/zds-site/contributors","subscribers_url":"https://api.github.com/repos/Emeric54/zds-site/subscribers","subscription_url":"https://api.github.com/repos/Emeric54/zds-site/subscription","commits_url":"https://api.github.com/repos/Emeric54/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/Emeric54/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/Emeric54/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/Emeric54/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/Emeric54/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/Emeric54/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Emeric54/zds-site/merges","archive_url":"https://api.github.com/repos/Emeric54/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Emeric54/zds-site/downloads","issues_url":"https://api.github.com/repos/Emeric54/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/Emeric54/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/Emeric54/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/Emeric54/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Emeric54/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/Emeric54/zds-site/releases{/id}","deployments_url":"https://api.github.com/repos/Emeric54/zds-site/deployments","created_at":"2015-10-13T09:53:59Z","updated_at":"2016-08-18T10:46:10Z","pushed_at":"2016-08-18T10:48:33Z","git_url":"git://github.com/Emeric54/zds-site.git","ssh_url":"git@github.com:Emeric54/zds-site.git","clone_url":"https://github.com/Emeric54/zds-site.git","svn_url":"https://github.com/Emeric54/zds-site","homepage":null,"size":92258,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"dev"}},"base":{"label":"zestedesavoir:dev","ref":"dev","sha":"f38fbbe1006b18e621aba2b1edfaf31c1d7d6e9d","user":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"repo":{"id":14778920,"name":"zds-site","full_name":"zestedesavoir/zds-site","owner":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestedesavoir/zds-site","description":"Dépot ZDS","fork":false,"url":"https://api.github.com/repos/zestedesavoir/zds-site","forks_url":"https://api.github.com/repos/zestedesavoir/zds-site/forks","keys_url":"https://api.github.com/repos/zestedesavoir/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestedesavoir/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestedesavoir/zds-site/teams","hooks_url":"https://api.github.com/repos/zestedesavoir/zds-site/hooks","issue_events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/events","assignees_url":"https://api.github.com/repos/zestedesavoir/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/zestedesavoir/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/tags","blobs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/zestedesavoir/zds-site/languages","stargazers_url":"https://api.github.com/repos/zestedesavoir/zds-site/stargazers","contributors_url":"https://api.github.com/repos/zestedesavoir/zds-site/contributors","subscribers_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscribers","subscription_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscription","commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestedesavoir/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/zestedesavoir/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestedesavoir/zds-site/merges","archive_url":"https://api.github.com/repos/zestedesavoir/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestedesavoir/zds-site/downloads","issues_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/zestedesavoir/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/zestedesavoir/zds-site/releases{/id}","deployments_url":"https://api.github.com/repos/zestedesavoir/zds-site/deployments","created_at":"2013-11-28T14:23:48Z","updated_at":"2016-08-15T21:31:38Z","pushed_at":"2016-08-18T11:24:31Z","git_url":"git://github.com/zestedesavoir/zds-site.git","ssh_url":"git@github.com:zestedesavoir/zds-site.git","clone_url":"https://github.com/zestedesavoir/zds-site.git","svn_url":"https://github.com/zestedesavoir/zds-site","homepage":null,"size":163309,"stargazers_count":158,"watchers_count":158,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":127,"mirror_url":null,"open_issues_count":208,"forks":127,"open_issues":208,"watchers":158,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/3772"},"issue":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3772"},"comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/3772/comments"},"review_comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772/comments"},"review_comment":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/3772/commits"},"statuses":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/acaa8feaf83626a9cdbf04f4bc044a203f465604"}}}}
{"actor":{"display_login":"gustavi"}}