{"action":"created","comment":{"url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/comments/55328391","id":55328391,"diff_hunk":"@@ -13,6 +9,7 @@\n \n import settings\n import secrets\n+import utilities as ut","path":"server.py","position":12,"original_position":12,"commit_id":"50ce7f7e9bad3d424b7f528abf83ac05996c71a2","original_commit_id":"50ce7f7e9bad3d424b7f528abf83ac05996c71a2","user":{"login":"kreativitea","id":1762242,"avatar_url":"https://avatars.githubusercontent.com/u/1762242?v=3","gravatar_id":"","url":"https://api.github.com/users/kreativitea","html_url":"https://github.com/kreativitea","followers_url":"https://api.github.com/users/kreativitea/followers","following_url":"https://api.github.com/users/kreativitea/following{/other_user}","gists_url":"https://api.github.com/users/kreativitea/gists{/gist_id}","starred_url":"https://api.github.com/users/kreativitea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kreativitea/subscriptions","organizations_url":"https://api.github.com/users/kreativitea/orgs","repos_url":"https://api.github.com/users/kreativitea/repos","events_url":"https://api.github.com/users/kreativitea/events{/privacy}","received_events_url":"https://api.github.com/users/kreativitea/received_events","type":"User","site_admin":false},"body":"If you're looking for a short version of this, `utils` is pretty common.  I had to guess what `ut` was when you referenced it down below. :)","created_at":"2016-03-08T08:22:24Z","updated_at":"2016-03-08T08:22:24Z","html_url":"https://github.com/elsabirch/gallery-wall/pull/19#discussion_r55328391","pull_request_url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/comments/55328391"},"html":{"href":"https://github.com/elsabirch/gallery-wall/pull/19#discussion_r55328391"},"pull_request":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19","id":61772145,"html_url":"https://github.com/elsabirch/gallery-wall/pull/19","diff_url":"https://github.com/elsabirch/gallery-wall/pull/19.diff","patch_url":"https://github.com/elsabirch/gallery-wall/pull/19.patch","issue_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues/19","number":19,"state":"closed","locked":false,"title":"Server Refactoring","user":{"login":"elsabirch","id":2191874,"avatar_url":"https://avatars.githubusercontent.com/u/2191874?v=3","gravatar_id":"","url":"https://api.github.com/users/elsabirch","html_url":"https://github.com/elsabirch","followers_url":"https://api.github.com/users/elsabirch/followers","following_url":"https://api.github.com/users/elsabirch/following{/other_user}","gists_url":"https://api.github.com/users/elsabirch/gists{/gist_id}","starred_url":"https://api.github.com/users/elsabirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elsabirch/subscriptions","organizations_url":"https://api.github.com/users/elsabirch/orgs","repos_url":"https://api.github.com/users/elsabirch/repos","events_url":"https://api.github.com/users/elsabirch/events{/privacy}","received_events_url":"https://api.github.com/users/elsabirch/received_events","type":"User","site_admin":false},"body":"Logic and functionality longer than a few lines moved from server routes to functions in a utilities module.  A few of the server routes still contain their own more complex logic because I expect to shortly merge in other branches impacting those.","created_at":"2016-03-04T21:13:25Z","updated_at":"2016-03-08T08:22:24Z","closed_at":"2016-03-04T22:03:02Z","merged_at":"2016-03-04T22:03:02Z","merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19/commits","review_comments_url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19/comments","review_comment_url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues/19/comments","statuses_url":"https://api.github.com/repos/elsabirch/gallery-wall/statuses/50ce7f7e9bad3d424b7f528abf83ac05996c71a2","head":{"label":"elsabirch:server-tidy","ref":"server-tidy","sha":"50ce7f7e9bad3d424b7f528abf83ac05996c71a2","user":{"login":"elsabirch","id":2191874,"avatar_url":"https://avatars.githubusercontent.com/u/2191874?v=3","gravatar_id":"","url":"https://api.github.com/users/elsabirch","html_url":"https://github.com/elsabirch","followers_url":"https://api.github.com/users/elsabirch/followers","following_url":"https://api.github.com/users/elsabirch/following{/other_user}","gists_url":"https://api.github.com/users/elsabirch/gists{/gist_id}","starred_url":"https://api.github.com/users/elsabirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elsabirch/subscriptions","organizations_url":"https://api.github.com/users/elsabirch/orgs","repos_url":"https://api.github.com/users/elsabirch/repos","events_url":"https://api.github.com/users/elsabirch/events{/privacy}","received_events_url":"https://api.github.com/users/elsabirch/received_events","type":"User","site_admin":false},"repo":{"id":51789357,"name":"gallery-wall","full_name":"elsabirch/gallery-wall","owner":{"login":"elsabirch","id":2191874,"avatar_url":"https://avatars.githubusercontent.com/u/2191874?v=3","gravatar_id":"","url":"https://api.github.com/users/elsabirch","html_url":"https://github.com/elsabirch","followers_url":"https://api.github.com/users/elsabirch/followers","following_url":"https://api.github.com/users/elsabirch/following{/other_user}","gists_url":"https://api.github.com/users/elsabirch/gists{/gist_id}","starred_url":"https://api.github.com/users/elsabirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elsabirch/subscriptions","organizations_url":"https://api.github.com/users/elsabirch/orgs","repos_url":"https://api.github.com/users/elsabirch/repos","events_url":"https://api.github.com/users/elsabirch/events{/privacy}","received_events_url":"https://api.github.com/users/elsabirch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elsabirch/gallery-wall","description":"Hackbright Solo Project","fork":false,"url":"https://api.github.com/repos/elsabirch/gallery-wall","forks_url":"https://api.github.com/repos/elsabirch/gallery-wall/forks","keys_url":"https://api.github.com/repos/elsabirch/gallery-wall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elsabirch/gallery-wall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elsabirch/gallery-wall/teams","hooks_url":"https://api.github.com/repos/elsabirch/gallery-wall/hooks","issue_events_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues/events{/number}","events_url":"https://api.github.com/repos/elsabirch/gallery-wall/events","assignees_url":"https://api.github.com/repos/elsabirch/gallery-wall/assignees{/user}","branches_url":"https://api.github.com/repos/elsabirch/gallery-wall/branches{/branch}","tags_url":"https://api.github.com/repos/elsabirch/gallery-wall/tags","blobs_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/refs{/sha}","trees_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elsabirch/gallery-wall/statuses/{sha}","languages_url":"https://api.github.com/repos/elsabirch/gallery-wall/languages","stargazers_url":"https://api.github.com/repos/elsabirch/gallery-wall/stargazers","contributors_url":"https://api.github.com/repos/elsabirch/gallery-wall/contributors","subscribers_url":"https://api.github.com/repos/elsabirch/gallery-wall/subscribers","subscription_url":"https://api.github.com/repos/elsabirch/gallery-wall/subscription","commits_url":"https://api.github.com/repos/elsabirch/gallery-wall/commits{/sha}","git_commits_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/commits{/sha}","comments_url":"https://api.github.com/repos/elsabirch/gallery-wall/comments{/number}","issue_comment_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues/comments{/number}","contents_url":"https://api.github.com/repos/elsabirch/gallery-wall/contents/{+path}","compare_url":"https://api.github.com/repos/elsabirch/gallery-wall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elsabirch/gallery-wall/merges","archive_url":"https://api.github.com/repos/elsabirch/gallery-wall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elsabirch/gallery-wall/downloads","issues_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues{/number}","pulls_url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls{/number}","milestones_url":"https://api.github.com/repos/elsabirch/gallery-wall/milestones{/number}","notifications_url":"https://api.github.com/repos/elsabirch/gallery-wall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elsabirch/gallery-wall/labels{/name}","releases_url":"https://api.github.com/repos/elsabirch/gallery-wall/releases{/id}","deployments_url":"https://api.github.com/repos/elsabirch/gallery-wall/deployments","created_at":"2016-02-15T22:10:46Z","updated_at":"2016-02-15T22:19:06Z","pushed_at":"2016-03-08T06:14:44Z","git_url":"git://github.com/elsabirch/gallery-wall.git","ssh_url":"git@github.com:elsabirch/gallery-wall.git","clone_url":"https://github.com/elsabirch/gallery-wall.git","svn_url":"https://github.com/elsabirch/gallery-wall","homepage":"","size":7350,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"elsabirch:master","ref":"master","sha":"dd2dd9b2565290d9164c4311171c585b7e76ce00","user":{"login":"elsabirch","id":2191874,"avatar_url":"https://avatars.githubusercontent.com/u/2191874?v=3","gravatar_id":"","url":"https://api.github.com/users/elsabirch","html_url":"https://github.com/elsabirch","followers_url":"https://api.github.com/users/elsabirch/followers","following_url":"https://api.github.com/users/elsabirch/following{/other_user}","gists_url":"https://api.github.com/users/elsabirch/gists{/gist_id}","starred_url":"https://api.github.com/users/elsabirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elsabirch/subscriptions","organizations_url":"https://api.github.com/users/elsabirch/orgs","repos_url":"https://api.github.com/users/elsabirch/repos","events_url":"https://api.github.com/users/elsabirch/events{/privacy}","received_events_url":"https://api.github.com/users/elsabirch/received_events","type":"User","site_admin":false},"repo":{"id":51789357,"name":"gallery-wall","full_name":"elsabirch/gallery-wall","owner":{"login":"elsabirch","id":2191874,"avatar_url":"https://avatars.githubusercontent.com/u/2191874?v=3","gravatar_id":"","url":"https://api.github.com/users/elsabirch","html_url":"https://github.com/elsabirch","followers_url":"https://api.github.com/users/elsabirch/followers","following_url":"https://api.github.com/users/elsabirch/following{/other_user}","gists_url":"https://api.github.com/users/elsabirch/gists{/gist_id}","starred_url":"https://api.github.com/users/elsabirch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elsabirch/subscriptions","organizations_url":"https://api.github.com/users/elsabirch/orgs","repos_url":"https://api.github.com/users/elsabirch/repos","events_url":"https://api.github.com/users/elsabirch/events{/privacy}","received_events_url":"https://api.github.com/users/elsabirch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elsabirch/gallery-wall","description":"Hackbright Solo Project","fork":false,"url":"https://api.github.com/repos/elsabirch/gallery-wall","forks_url":"https://api.github.com/repos/elsabirch/gallery-wall/forks","keys_url":"https://api.github.com/repos/elsabirch/gallery-wall/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elsabirch/gallery-wall/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elsabirch/gallery-wall/teams","hooks_url":"https://api.github.com/repos/elsabirch/gallery-wall/hooks","issue_events_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues/events{/number}","events_url":"https://api.github.com/repos/elsabirch/gallery-wall/events","assignees_url":"https://api.github.com/repos/elsabirch/gallery-wall/assignees{/user}","branches_url":"https://api.github.com/repos/elsabirch/gallery-wall/branches{/branch}","tags_url":"https://api.github.com/repos/elsabirch/gallery-wall/tags","blobs_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/refs{/sha}","trees_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elsabirch/gallery-wall/statuses/{sha}","languages_url":"https://api.github.com/repos/elsabirch/gallery-wall/languages","stargazers_url":"https://api.github.com/repos/elsabirch/gallery-wall/stargazers","contributors_url":"https://api.github.com/repos/elsabirch/gallery-wall/contributors","subscribers_url":"https://api.github.com/repos/elsabirch/gallery-wall/subscribers","subscription_url":"https://api.github.com/repos/elsabirch/gallery-wall/subscription","commits_url":"https://api.github.com/repos/elsabirch/gallery-wall/commits{/sha}","git_commits_url":"https://api.github.com/repos/elsabirch/gallery-wall/git/commits{/sha}","comments_url":"https://api.github.com/repos/elsabirch/gallery-wall/comments{/number}","issue_comment_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues/comments{/number}","contents_url":"https://api.github.com/repos/elsabirch/gallery-wall/contents/{+path}","compare_url":"https://api.github.com/repos/elsabirch/gallery-wall/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elsabirch/gallery-wall/merges","archive_url":"https://api.github.com/repos/elsabirch/gallery-wall/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elsabirch/gallery-wall/downloads","issues_url":"https://api.github.com/repos/elsabirch/gallery-wall/issues{/number}","pulls_url":"https://api.github.com/repos/elsabirch/gallery-wall/pulls{/number}","milestones_url":"https://api.github.com/repos/elsabirch/gallery-wall/milestones{/number}","notifications_url":"https://api.github.com/repos/elsabirch/gallery-wall/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elsabirch/gallery-wall/labels{/name}","releases_url":"https://api.github.com/repos/elsabirch/gallery-wall/releases{/id}","deployments_url":"https://api.github.com/repos/elsabirch/gallery-wall/deployments","created_at":"2016-02-15T22:10:46Z","updated_at":"2016-02-15T22:19:06Z","pushed_at":"2016-03-08T06:14:44Z","git_url":"git://github.com/elsabirch/gallery-wall.git","ssh_url":"git@github.com:elsabirch/gallery-wall.git","clone_url":"https://github.com/elsabirch/gallery-wall.git","svn_url":"https://github.com/elsabirch/gallery-wall","homepage":"","size":7350,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19"},"html":{"href":"https://github.com/elsabirch/gallery-wall/pull/19"},"issue":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/issues/19"},"comments":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/elsabirch/gallery-wall/statuses/50ce7f7e9bad3d424b7f528abf83ac05996c71a2"}}}}