{"action":"created","comment":{"url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/comments/27510182","id":27510182,"diff_hunk":"@@ -2,161 +2,150 @@\n \n import os\n import logging\n-import psycopg2\n import datetime\n-from datetime import date\n import markdown\n-import pygments\n-import jinja2\n+import psycopg2\n+# import pygments\n+# import jinja2\n \n from pyramid.config import Configurator\n from pyramid.session import SignedCookieSessionFactory\n from pyramid.view import view_config\n-from pyramid.events import NewRequest, subscriber\n-from pyramid.httpexceptions import HTTPFound, HTTPInternalServerError, HTTPForbidden\n+from pyramid.httpexceptions import (\n+        HTTPFound, HTTPInternalServerError, HTTPForbidden)","path":"journal.py","position":20,"original_position":20,"commit_id":"f829d0c30aa7127144bde6d14247d5b4d23a41ba","original_commit_id":"f829d0c30aa7127144bde6d14247d5b4d23a41ba","user":{"login":"cewing","id":417109,"avatar_url":"https://avatars.githubusercontent.com/u/417109?v=3","gravatar_id":"","url":"https://api.github.com/users/cewing","html_url":"https://github.com/cewing","followers_url":"https://api.github.com/users/cewing/followers","following_url":"https://api.github.com/users/cewing/following{/other_user}","gists_url":"https://api.github.com/users/cewing/gists{/gist_id}","starred_url":"https://api.github.com/users/cewing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewing/subscriptions","organizations_url":"https://api.github.com/users/cewing/orgs","repos_url":"https://api.github.com/users/cewing/repos","events_url":"https://api.github.com/users/cewing/events{/privacy}","received_events_url":"https://api.github.com/users/cewing/received_events","type":"User","site_admin":false},"body":"better like this:\r\n\r\n```python\r\nfrom pyramid.httpexceptions import (\r\n    HTTPFound,\r\n    HTTPInternalServerError,\r\n    HTTPForbidden,\r\n)\r\n```","created_at":"2015-03-31T18:48:02Z","updated_at":"2015-03-31T18:48:02Z","html_url":"https://github.com/jacquestardie/learning-journal/pull/32#discussion_r27510182","pull_request_url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/comments/27510182"},"html":{"href":"https://github.com/jacquestardie/learning-journal/pull/32#discussion_r27510182"},"pull_request":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32","id":32281157,"html_url":"https://github.com/jacquestardie/learning-journal/pull/32","diff_url":"https://github.com/jacquestardie/learning-journal/pull/32.diff","patch_url":"https://github.com/jacquestardie/learning-journal/pull/32.patch","issue_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues/32","number":32,"state":"closed","locked":false,"title":"Orm","user":{"login":"jacquestardie","id":192642,"avatar_url":"https://avatars.githubusercontent.com/u/192642?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquestardie","html_url":"https://github.com/jacquestardie","followers_url":"https://api.github.com/users/jacquestardie/followers","following_url":"https://api.github.com/users/jacquestardie/following{/other_user}","gists_url":"https://api.github.com/users/jacquestardie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquestardie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquestardie/subscriptions","organizations_url":"https://api.github.com/users/jacquestardie/orgs","repos_url":"https://api.github.com/users/jacquestardie/repos","events_url":"https://api.github.com/users/jacquestardie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquestardie/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-31T00:30:46Z","updated_at":"2015-03-31T18:48:02Z","closed_at":"2015-03-31T00:40:05Z","merged_at":"2015-03-31T00:40:05Z","merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32/commits","review_comments_url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32/comments","review_comment_url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues/32/comments","statuses_url":"https://api.github.com/repos/jacquestardie/learning-journal/statuses/f829d0c30aa7127144bde6d14247d5b4d23a41ba","head":{"label":"jacquestardie:orm","ref":"orm","sha":"f829d0c30aa7127144bde6d14247d5b4d23a41ba","user":{"login":"jacquestardie","id":192642,"avatar_url":"https://avatars.githubusercontent.com/u/192642?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquestardie","html_url":"https://github.com/jacquestardie","followers_url":"https://api.github.com/users/jacquestardie/followers","following_url":"https://api.github.com/users/jacquestardie/following{/other_user}","gists_url":"https://api.github.com/users/jacquestardie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquestardie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquestardie/subscriptions","organizations_url":"https://api.github.com/users/jacquestardie/orgs","repos_url":"https://api.github.com/users/jacquestardie/repos","events_url":"https://api.github.com/users/jacquestardie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquestardie/received_events","type":"User","site_admin":false},"repo":{"id":30099333,"name":"learning-journal","full_name":"jacquestardie/learning-journal","owner":{"login":"jacquestardie","id":192642,"avatar_url":"https://avatars.githubusercontent.com/u/192642?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquestardie","html_url":"https://github.com/jacquestardie","followers_url":"https://api.github.com/users/jacquestardie/followers","following_url":"https://api.github.com/users/jacquestardie/following{/other_user}","gists_url":"https://api.github.com/users/jacquestardie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquestardie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquestardie/subscriptions","organizations_url":"https://api.github.com/users/jacquestardie/orgs","repos_url":"https://api.github.com/users/jacquestardie/repos","events_url":"https://api.github.com/users/jacquestardie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquestardie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacquestardie/learning-journal","description":"sekrit code diary","fork":false,"url":"https://api.github.com/repos/jacquestardie/learning-journal","forks_url":"https://api.github.com/repos/jacquestardie/learning-journal/forks","keys_url":"https://api.github.com/repos/jacquestardie/learning-journal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacquestardie/learning-journal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacquestardie/learning-journal/teams","hooks_url":"https://api.github.com/repos/jacquestardie/learning-journal/hooks","issue_events_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues/events{/number}","events_url":"https://api.github.com/repos/jacquestardie/learning-journal/events","assignees_url":"https://api.github.com/repos/jacquestardie/learning-journal/assignees{/user}","branches_url":"https://api.github.com/repos/jacquestardie/learning-journal/branches{/branch}","tags_url":"https://api.github.com/repos/jacquestardie/learning-journal/tags","blobs_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacquestardie/learning-journal/statuses/{sha}","languages_url":"https://api.github.com/repos/jacquestardie/learning-journal/languages","stargazers_url":"https://api.github.com/repos/jacquestardie/learning-journal/stargazers","contributors_url":"https://api.github.com/repos/jacquestardie/learning-journal/contributors","subscribers_url":"https://api.github.com/repos/jacquestardie/learning-journal/subscribers","subscription_url":"https://api.github.com/repos/jacquestardie/learning-journal/subscription","commits_url":"https://api.github.com/repos/jacquestardie/learning-journal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacquestardie/learning-journal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacquestardie/learning-journal/contents/{+path}","compare_url":"https://api.github.com/repos/jacquestardie/learning-journal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacquestardie/learning-journal/merges","archive_url":"https://api.github.com/repos/jacquestardie/learning-journal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacquestardie/learning-journal/downloads","issues_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues{/number}","pulls_url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls{/number}","milestones_url":"https://api.github.com/repos/jacquestardie/learning-journal/milestones{/number}","notifications_url":"https://api.github.com/repos/jacquestardie/learning-journal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacquestardie/learning-journal/labels{/name}","releases_url":"https://api.github.com/repos/jacquestardie/learning-journal/releases{/id}","created_at":"2015-01-31T02:16:12Z","updated_at":"2015-03-31T00:40:05Z","pushed_at":"2015-03-31T00:40:05Z","git_url":"git://github.com/jacquestardie/learning-journal.git","ssh_url":"git@github.com:jacquestardie/learning-journal.git","clone_url":"https://github.com/jacquestardie/learning-journal.git","svn_url":"https://github.com/jacquestardie/learning-journal","homepage":"https://le-journal.jqtr.de","size":485,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"jacquestardie:master","ref":"master","sha":"bcc469584cc19f4c1228d81557fb174819abf3c8","user":{"login":"jacquestardie","id":192642,"avatar_url":"https://avatars.githubusercontent.com/u/192642?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquestardie","html_url":"https://github.com/jacquestardie","followers_url":"https://api.github.com/users/jacquestardie/followers","following_url":"https://api.github.com/users/jacquestardie/following{/other_user}","gists_url":"https://api.github.com/users/jacquestardie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquestardie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquestardie/subscriptions","organizations_url":"https://api.github.com/users/jacquestardie/orgs","repos_url":"https://api.github.com/users/jacquestardie/repos","events_url":"https://api.github.com/users/jacquestardie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquestardie/received_events","type":"User","site_admin":false},"repo":{"id":30099333,"name":"learning-journal","full_name":"jacquestardie/learning-journal","owner":{"login":"jacquestardie","id":192642,"avatar_url":"https://avatars.githubusercontent.com/u/192642?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquestardie","html_url":"https://github.com/jacquestardie","followers_url":"https://api.github.com/users/jacquestardie/followers","following_url":"https://api.github.com/users/jacquestardie/following{/other_user}","gists_url":"https://api.github.com/users/jacquestardie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquestardie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquestardie/subscriptions","organizations_url":"https://api.github.com/users/jacquestardie/orgs","repos_url":"https://api.github.com/users/jacquestardie/repos","events_url":"https://api.github.com/users/jacquestardie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquestardie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jacquestardie/learning-journal","description":"sekrit code diary","fork":false,"url":"https://api.github.com/repos/jacquestardie/learning-journal","forks_url":"https://api.github.com/repos/jacquestardie/learning-journal/forks","keys_url":"https://api.github.com/repos/jacquestardie/learning-journal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jacquestardie/learning-journal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jacquestardie/learning-journal/teams","hooks_url":"https://api.github.com/repos/jacquestardie/learning-journal/hooks","issue_events_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues/events{/number}","events_url":"https://api.github.com/repos/jacquestardie/learning-journal/events","assignees_url":"https://api.github.com/repos/jacquestardie/learning-journal/assignees{/user}","branches_url":"https://api.github.com/repos/jacquestardie/learning-journal/branches{/branch}","tags_url":"https://api.github.com/repos/jacquestardie/learning-journal/tags","blobs_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/refs{/sha}","trees_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jacquestardie/learning-journal/statuses/{sha}","languages_url":"https://api.github.com/repos/jacquestardie/learning-journal/languages","stargazers_url":"https://api.github.com/repos/jacquestardie/learning-journal/stargazers","contributors_url":"https://api.github.com/repos/jacquestardie/learning-journal/contributors","subscribers_url":"https://api.github.com/repos/jacquestardie/learning-journal/subscribers","subscription_url":"https://api.github.com/repos/jacquestardie/learning-journal/subscription","commits_url":"https://api.github.com/repos/jacquestardie/learning-journal/commits{/sha}","git_commits_url":"https://api.github.com/repos/jacquestardie/learning-journal/git/commits{/sha}","comments_url":"https://api.github.com/repos/jacquestardie/learning-journal/comments{/number}","issue_comment_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues/comments{/number}","contents_url":"https://api.github.com/repos/jacquestardie/learning-journal/contents/{+path}","compare_url":"https://api.github.com/repos/jacquestardie/learning-journal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jacquestardie/learning-journal/merges","archive_url":"https://api.github.com/repos/jacquestardie/learning-journal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jacquestardie/learning-journal/downloads","issues_url":"https://api.github.com/repos/jacquestardie/learning-journal/issues{/number}","pulls_url":"https://api.github.com/repos/jacquestardie/learning-journal/pulls{/number}","milestones_url":"https://api.github.com/repos/jacquestardie/learning-journal/milestones{/number}","notifications_url":"https://api.github.com/repos/jacquestardie/learning-journal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jacquestardie/learning-journal/labels{/name}","releases_url":"https://api.github.com/repos/jacquestardie/learning-journal/releases{/id}","created_at":"2015-01-31T02:16:12Z","updated_at":"2015-03-31T00:40:05Z","pushed_at":"2015-03-31T00:40:05Z","git_url":"git://github.com/jacquestardie/learning-journal.git","ssh_url":"git@github.com:jacquestardie/learning-journal.git","clone_url":"https://github.com/jacquestardie/learning-journal.git","svn_url":"https://github.com/jacquestardie/learning-journal","homepage":"https://le-journal.jqtr.de","size":485,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32"},"html":{"href":"https://github.com/jacquestardie/learning-journal/pull/32"},"issue":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/issues/32"},"comments":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/jacquestardie/learning-journal/statuses/f829d0c30aa7127144bde6d14247d5b4d23a41ba"}}}}