{"action":"created","comment":{"url":"https://api.github.com/repos/PyCon/pycon/pulls/comments/35336276","id":35336276,"diff_hunk":"@@ -172,13 +178,7 @@ def joblisting_text(self):\n \n     @property\n     def website_logo(self):\n-        if self.sponsor_logo is None:\n-            benefits = self.sponsor_benefits.filter(benefit__type=\"weblogo\", upload__isnull=False)[:1]\n-            if benefits.count():\n-                if benefits[0].upload:\n-                    self.sponsor_logo = benefits[0]\n-                    self.save()\n-        return self.sponsor_logo.upload\n+        return self.weblogo","path":"pycon/sponsorship/models.py","position":153,"original_position":153,"commit_id":"1267880d5e72188ff3ff2abe3768df729132f1c4","original_commit_id":"1267880d5e72188ff3ff2abe3768df729132f1c4","user":{"login":"rebecca-caktus","id":1759718,"avatar_url":"https://avatars.githubusercontent.com/u/1759718?v=3","gravatar_id":"","url":"https://api.github.com/users/rebecca-caktus","html_url":"https://github.com/rebecca-caktus","followers_url":"https://api.github.com/users/rebecca-caktus/followers","following_url":"https://api.github.com/users/rebecca-caktus/following{/other_user}","gists_url":"https://api.github.com/users/rebecca-caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/rebecca-caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebecca-caktus/subscriptions","organizations_url":"https://api.github.com/users/rebecca-caktus/orgs","repos_url":"https://api.github.com/users/rebecca-caktus/repos","events_url":"https://api.github.com/users/rebecca-caktus/events{/privacy}","received_events_url":"https://api.github.com/users/rebecca-caktus/received_events","type":"User","site_admin":false},"body":"typo?","created_at":"2015-07-23T15:46:00Z","updated_at":"2015-07-23T15:46:00Z","html_url":"https://github.com/PyCon/pycon/pull/414#discussion_r35336276","pull_request_url":"https://api.github.com/repos/PyCon/pycon/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/comments/35336276"},"html":{"href":"https://github.com/PyCon/pycon/pull/414#discussion_r35336276"},"pull_request":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/PyCon/pycon/pulls/414","id":40558451,"html_url":"https://github.com/PyCon/pycon/pull/414","diff_url":"https://github.com/PyCon/pycon/pull/414.diff","patch_url":"https://github.com/PyCon/pycon/pull/414.patch","issue_url":"https://api.github.com/repos/PyCon/pycon/issues/414","number":414,"state":"open","locked":false,"title":"379, 380 Updates to sponsor data","user":{"login":"dpoirier","id":2788679,"avatar_url":"https://avatars.githubusercontent.com/u/2788679?v=3","gravatar_id":"","url":"https://api.github.com/users/dpoirier","html_url":"https://github.com/dpoirier","followers_url":"https://api.github.com/users/dpoirier/followers","following_url":"https://api.github.com/users/dpoirier/following{/other_user}","gists_url":"https://api.github.com/users/dpoirier/gists{/gist_id}","starred_url":"https://api.github.com/users/dpoirier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpoirier/subscriptions","organizations_url":"https://api.github.com/users/dpoirier/orgs","repos_url":"https://api.github.com/users/dpoirier/repos","events_url":"https://api.github.com/users/dpoirier/events{/privacy}","received_events_url":"https://api.github.com/users/dpoirier/received_events","type":"User","site_admin":false},"body":"* Make required:\r\n  * web logo\r\n  * web description\r\n  * external URL\r\n\r\n* Move web logo and web description to be fields on Sponsor instead of\r\n  separate SponsorBenefit records\r\n\r\n* Remove the now-obsolete web logo and web description benefit types,\r\n  and a couple others that aren't used anymore.\r\n\r\n* Remove:\r\n  * print description\r\n\r\n* Add optional fields:\r\n  * Booth number\r\n  * Job fair table number\r\n  * Promo codes\r\n\r\n* Add the new optional fields to those that can be interpolated when\r\n  sending bulk email to sponsors.\r\n\r\nFixes #379, #380","created_at":"2015-07-22T12:18:08Z","updated_at":"2015-07-23T15:46:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3af8db20a2c6c38ad7db26fb23b922011a92f349","assignee":{"login":"rebecca-caktus","id":1759718,"avatar_url":"https://avatars.githubusercontent.com/u/1759718?v=3","gravatar_id":"","url":"https://api.github.com/users/rebecca-caktus","html_url":"https://github.com/rebecca-caktus","followers_url":"https://api.github.com/users/rebecca-caktus/followers","following_url":"https://api.github.com/users/rebecca-caktus/following{/other_user}","gists_url":"https://api.github.com/users/rebecca-caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/rebecca-caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebecca-caktus/subscriptions","organizations_url":"https://api.github.com/users/rebecca-caktus/orgs","repos_url":"https://api.github.com/users/rebecca-caktus/repos","events_url":"https://api.github.com/users/rebecca-caktus/events{/privacy}","received_events_url":"https://api.github.com/users/rebecca-caktus/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/PyCon/pycon/pulls/414/commits","review_comments_url":"https://api.github.com/repos/PyCon/pycon/pulls/414/comments","review_comment_url":"https://api.github.com/repos/PyCon/pycon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PyCon/pycon/issues/414/comments","statuses_url":"https://api.github.com/repos/PyCon/pycon/statuses/1267880d5e72188ff3ff2abe3768df729132f1c4","head":{"label":"PyCon:379_380__sponsor_details","ref":"379_380__sponsor_details","sha":"1267880d5e72188ff3ff2abe3768df729132f1c4","user":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"repo":{"id":10479791,"name":"pycon","full_name":"PyCon/pycon","owner":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyCon/pycon","description":"Website for PyCon","fork":false,"url":"https://api.github.com/repos/PyCon/pycon","forks_url":"https://api.github.com/repos/PyCon/pycon/forks","keys_url":"https://api.github.com/repos/PyCon/pycon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyCon/pycon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyCon/pycon/teams","hooks_url":"https://api.github.com/repos/PyCon/pycon/hooks","issue_events_url":"https://api.github.com/repos/PyCon/pycon/issues/events{/number}","events_url":"https://api.github.com/repos/PyCon/pycon/events","assignees_url":"https://api.github.com/repos/PyCon/pycon/assignees{/user}","branches_url":"https://api.github.com/repos/PyCon/pycon/branches{/branch}","tags_url":"https://api.github.com/repos/PyCon/pycon/tags","blobs_url":"https://api.github.com/repos/PyCon/pycon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyCon/pycon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyCon/pycon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyCon/pycon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyCon/pycon/statuses/{sha}","languages_url":"https://api.github.com/repos/PyCon/pycon/languages","stargazers_url":"https://api.github.com/repos/PyCon/pycon/stargazers","contributors_url":"https://api.github.com/repos/PyCon/pycon/contributors","subscribers_url":"https://api.github.com/repos/PyCon/pycon/subscribers","subscription_url":"https://api.github.com/repos/PyCon/pycon/subscription","commits_url":"https://api.github.com/repos/PyCon/pycon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyCon/pycon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyCon/pycon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyCon/pycon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyCon/pycon/contents/{+path}","compare_url":"https://api.github.com/repos/PyCon/pycon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyCon/pycon/merges","archive_url":"https://api.github.com/repos/PyCon/pycon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyCon/pycon/downloads","issues_url":"https://api.github.com/repos/PyCon/pycon/issues{/number}","pulls_url":"https://api.github.com/repos/PyCon/pycon/pulls{/number}","milestones_url":"https://api.github.com/repos/PyCon/pycon/milestones{/number}","notifications_url":"https://api.github.com/repos/PyCon/pycon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyCon/pycon/labels{/name}","releases_url":"https://api.github.com/repos/PyCon/pycon/releases{/id}","created_at":"2013-06-04T13:54:18Z","updated_at":"2015-07-01T05:37:26Z","pushed_at":"2015-07-23T12:26:26Z","git_url":"git://github.com/PyCon/pycon.git","ssh_url":"git@github.com:PyCon/pycon.git","clone_url":"https://github.com/PyCon/pycon.git","svn_url":"https://github.com/PyCon/pycon","homepage":"","size":10215,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":82,"forks":37,"open_issues":82,"watchers":33,"default_branch":"develop"}},"base":{"label":"PyCon:develop","ref":"develop","sha":"f510783c72d901563e1d3c0fb6931036d24373c1","user":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"repo":{"id":10479791,"name":"pycon","full_name":"PyCon/pycon","owner":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyCon/pycon","description":"Website for PyCon","fork":false,"url":"https://api.github.com/repos/PyCon/pycon","forks_url":"https://api.github.com/repos/PyCon/pycon/forks","keys_url":"https://api.github.com/repos/PyCon/pycon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyCon/pycon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyCon/pycon/teams","hooks_url":"https://api.github.com/repos/PyCon/pycon/hooks","issue_events_url":"https://api.github.com/repos/PyCon/pycon/issues/events{/number}","events_url":"https://api.github.com/repos/PyCon/pycon/events","assignees_url":"https://api.github.com/repos/PyCon/pycon/assignees{/user}","branches_url":"https://api.github.com/repos/PyCon/pycon/branches{/branch}","tags_url":"https://api.github.com/repos/PyCon/pycon/tags","blobs_url":"https://api.github.com/repos/PyCon/pycon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyCon/pycon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyCon/pycon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyCon/pycon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyCon/pycon/statuses/{sha}","languages_url":"https://api.github.com/repos/PyCon/pycon/languages","stargazers_url":"https://api.github.com/repos/PyCon/pycon/stargazers","contributors_url":"https://api.github.com/repos/PyCon/pycon/contributors","subscribers_url":"https://api.github.com/repos/PyCon/pycon/subscribers","subscription_url":"https://api.github.com/repos/PyCon/pycon/subscription","commits_url":"https://api.github.com/repos/PyCon/pycon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyCon/pycon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyCon/pycon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyCon/pycon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyCon/pycon/contents/{+path}","compare_url":"https://api.github.com/repos/PyCon/pycon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyCon/pycon/merges","archive_url":"https://api.github.com/repos/PyCon/pycon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyCon/pycon/downloads","issues_url":"https://api.github.com/repos/PyCon/pycon/issues{/number}","pulls_url":"https://api.github.com/repos/PyCon/pycon/pulls{/number}","milestones_url":"https://api.github.com/repos/PyCon/pycon/milestones{/number}","notifications_url":"https://api.github.com/repos/PyCon/pycon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyCon/pycon/labels{/name}","releases_url":"https://api.github.com/repos/PyCon/pycon/releases{/id}","created_at":"2013-06-04T13:54:18Z","updated_at":"2015-07-01T05:37:26Z","pushed_at":"2015-07-23T12:26:26Z","git_url":"git://github.com/PyCon/pycon.git","ssh_url":"git@github.com:PyCon/pycon.git","clone_url":"https://github.com/PyCon/pycon.git","svn_url":"https://github.com/PyCon/pycon","homepage":"","size":10215,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":82,"forks":37,"open_issues":82,"watchers":33,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/414"},"html":{"href":"https://github.com/PyCon/pycon/pull/414"},"issue":{"href":"https://api.github.com/repos/PyCon/pycon/issues/414"},"comments":{"href":"https://api.github.com/repos/PyCon/pycon/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/PyCon/pycon/statuses/1267880d5e72188ff3ff2abe3768df729132f1c4"}}}}