{"action":"created","comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/30945963","id":30945963,"diff_hunk":"@@ -150,10 +150,10 @@ def alerts(request):\n     if not request.user.has_perm('forum.change_post'):\n         raise PermissionDenied\n \n-    alerts = Alert.objects.all().order_by('-pubdate')\n+    all_alerts = Alert.objects.all().order_by('-pubdate')","path":"zds/pages/views.py","position":16,"original_position":16,"commit_id":"4538930110944dc134e1ee75317123723e20effb","original_commit_id":"4538930110944dc134e1ee75317123723e20effb","user":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"body":"Il n'aimait pas `alerts` ?","created_at":"2015-05-23T16:06:44Z","updated_at":"2015-05-23T16:06:44Z","html_url":"https://github.com/zestedesavoir/zds-site/pull/2712#discussion_r30945963","pull_request_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712","_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/30945963"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2712#discussion_r30945963"},"pull_request":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712"}}},"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712","id":35510713,"html_url":"https://github.com/zestedesavoir/zds-site/pull/2712","diff_url":"https://github.com/zestedesavoir/zds-site/pull/2712.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/2712.patch","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2712","number":2712,"state":"open","locked":false,"title":"Ameliorations de code conseillées par landscape","user":{"login":"Eskimon","id":761168,"avatar_url":"https://avatars.githubusercontent.com/u/761168?v=3","gravatar_id":"","url":"https://api.github.com/users/Eskimon","html_url":"https://github.com/Eskimon","followers_url":"https://api.github.com/users/Eskimon/followers","following_url":"https://api.github.com/users/Eskimon/following{/other_user}","gists_url":"https://api.github.com/users/Eskimon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eskimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eskimon/subscriptions","organizations_url":"https://api.github.com/users/Eskimon/orgs","repos_url":"https://api.github.com/users/Eskimon/repos","events_url":"https://api.github.com/users/Eskimon/events{/privacy}","received_events_url":"https://api.github.com/users/Eskimon/received_events","type":"User","site_admin":false},"body":"| Q                             | R\r\n| ----------------------------- | -------------------------------------------\r\n| Correction de bugs ?          | non\r\n| Nouvelle Fonctionnalité ?     | non\r\n| Tickets (_issues_) concernés  | N/A\r\n\r\nCe ticket propose quelques améliorations de code conseillées par landscape. Il y a encore du boulot mais c'est un début.\r\nGrosso modo :\r\n\r\n+ Des noms de variables sont devenues un peu peu littéral\r\n+ Des noms de variables interdit (`list`) ont été remplace pour éviter les confusions\r\n+ J'ai vire quelques contraintes pour lesquels nous ne ferons probablement jamais rien\r\n+ ...\r\n\r\nJ'ai volontairement ignoré les modules articles, tutos et mp (car les deux premiers vont beaucoup changer avec la ZEP-12 et le module tuto peut-etre aussi avec l'API en dev dessus)","created_at":"2015-05-15T12:59:47Z","updated_at":"2015-05-23T16:06:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"897ceb202f697460e9bc03da3f1b2a34396f5da5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712/commits","review_comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712/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/2712/comments","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/4538930110944dc134e1ee75317123723e20effb","head":{"label":"Eskimon:tweak-landscape","ref":"tweak-landscape","sha":"4538930110944dc134e1ee75317123723e20effb","user":{"login":"Eskimon","id":761168,"avatar_url":"https://avatars.githubusercontent.com/u/761168?v=3","gravatar_id":"","url":"https://api.github.com/users/Eskimon","html_url":"https://github.com/Eskimon","followers_url":"https://api.github.com/users/Eskimon/followers","following_url":"https://api.github.com/users/Eskimon/following{/other_user}","gists_url":"https://api.github.com/users/Eskimon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eskimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eskimon/subscriptions","organizations_url":"https://api.github.com/users/Eskimon/orgs","repos_url":"https://api.github.com/users/Eskimon/repos","events_url":"https://api.github.com/users/Eskimon/events{/privacy}","received_events_url":"https://api.github.com/users/Eskimon/received_events","type":"User","site_admin":false},"repo":{"id":20862708,"name":"zds-site","full_name":"Eskimon/zds-site","owner":{"login":"Eskimon","id":761168,"avatar_url":"https://avatars.githubusercontent.com/u/761168?v=3","gravatar_id":"","url":"https://api.github.com/users/Eskimon","html_url":"https://github.com/Eskimon","followers_url":"https://api.github.com/users/Eskimon/followers","following_url":"https://api.github.com/users/Eskimon/following{/other_user}","gists_url":"https://api.github.com/users/Eskimon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eskimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eskimon/subscriptions","organizations_url":"https://api.github.com/users/Eskimon/orgs","repos_url":"https://api.github.com/users/Eskimon/repos","events_url":"https://api.github.com/users/Eskimon/events{/privacy}","received_events_url":"https://api.github.com/users/Eskimon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eskimon/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/Eskimon/zds-site","forks_url":"https://api.github.com/repos/Eskimon/zds-site/forks","keys_url":"https://api.github.com/repos/Eskimon/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eskimon/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eskimon/zds-site/teams","hooks_url":"https://api.github.com/repos/Eskimon/zds-site/hooks","issue_events_url":"https://api.github.com/repos/Eskimon/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/Eskimon/zds-site/events","assignees_url":"https://api.github.com/repos/Eskimon/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/Eskimon/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/Eskimon/zds-site/tags","blobs_url":"https://api.github.com/repos/Eskimon/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eskimon/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eskimon/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eskimon/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eskimon/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/Eskimon/zds-site/languages","stargazers_url":"https://api.github.com/repos/Eskimon/zds-site/stargazers","contributors_url":"https://api.github.com/repos/Eskimon/zds-site/contributors","subscribers_url":"https://api.github.com/repos/Eskimon/zds-site/subscribers","subscription_url":"https://api.github.com/repos/Eskimon/zds-site/subscription","commits_url":"https://api.github.com/repos/Eskimon/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eskimon/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eskimon/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eskimon/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eskimon/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/Eskimon/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eskimon/zds-site/merges","archive_url":"https://api.github.com/repos/Eskimon/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eskimon/zds-site/downloads","issues_url":"https://api.github.com/repos/Eskimon/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/Eskimon/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/Eskimon/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/Eskimon/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eskimon/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/Eskimon/zds-site/releases{/id}","created_at":"2014-06-15T18:53:55Z","updated_at":"2015-04-15T07:13:45Z","pushed_at":"2015-05-22T19:55:45Z","git_url":"git://github.com/Eskimon/zds-site.git","ssh_url":"git@github.com:Eskimon/zds-site.git","clone_url":"https://github.com/Eskimon/zds-site.git","svn_url":"https://github.com/Eskimon/zds-site","homepage":null,"size":84864,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"dev"}},"base":{"label":"zestedesavoir:dev","ref":"dev","sha":"8e61c96bed981f8968ed64c3377010b6fc95b85c","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}","created_at":"2013-11-28T14:23:48Z","updated_at":"2015-05-22T14:52:47Z","pushed_at":"2015-05-23T13:28:16Z","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":166894,"stargazers_count":93,"watchers_count":93,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":85,"mirror_url":null,"open_issues_count":217,"forks":85,"open_issues":217,"watchers":93,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2712"},"issue":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2712"},"comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2712/comments"},"review_comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2712/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/2712/commits"},"statuses":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/4538930110944dc134e1ee75317123723e20effb"}}}}