{"action":"opened","number":136,"pull_request":{"url":"https://api.github.com/repos/caktus/django-opendebates/pulls/136","id":66164606,"html_url":"https://github.com/caktus/django-opendebates/pull/136","diff_url":"https://github.com/caktus/django-opendebates/pull/136.diff","patch_url":"https://github.com/caktus/django-opendebates/pull/136.patch","issue_url":"https://api.github.com/repos/caktus/django-opendebates/issues/136","number":136,"state":"open","locked":false,"title":"Implement \"local votes\" tally for use in FL debate","user":{"login":"ejucovy","id":54995,"avatar_url":"https://avatars.githubusercontent.com/u/54995?v=3","gravatar_id":"","url":"https://api.github.com/users/ejucovy","html_url":"https://github.com/ejucovy","followers_url":"https://api.github.com/users/ejucovy/followers","following_url":"https://api.github.com/users/ejucovy/following{/other_user}","gists_url":"https://api.github.com/users/ejucovy/gists{/gist_id}","starred_url":"https://api.github.com/users/ejucovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejucovy/subscriptions","organizations_url":"https://api.github.com/users/ejucovy/orgs","repos_url":"https://api.github.com/users/ejucovy/repos","events_url":"https://api.github.com/users/ejucovy/events{/privacy}","received_events_url":"https://api.github.com/users/ejucovy/received_events","type":"User","site_admin":false},"body":"* Add a knob on SiteMode to optionally set a state that should be considered local\r\n* If that knob is set, then add a \"Sort by local votes\" option\r\n  (as long as sorting by votes is enabled)\r\n* Add a database field on submission table to tally local votes\r\n* If the knob is set and the zipcode database has been loaded,\r\n  then votes cast by any user or voter in the same state as the site\r\n  will count towards the local vote tally","created_at":"2016-04-12T14:13:34Z","updated_at":"2016-04-12T14:13:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/caktus/django-opendebates/pulls/136/commits","review_comments_url":"https://api.github.com/repos/caktus/django-opendebates/pulls/136/comments","review_comment_url":"https://api.github.com/repos/caktus/django-opendebates/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caktus/django-opendebates/issues/136/comments","statuses_url":"https://api.github.com/repos/caktus/django-opendebates/statuses/9b93169e8a619530971ea45424bccbe13574d9ac","head":{"label":"ejucovy:egj/local-vote-counts","ref":"egj/local-vote-counts","sha":"9b93169e8a619530971ea45424bccbe13574d9ac","user":{"login":"ejucovy","id":54995,"avatar_url":"https://avatars.githubusercontent.com/u/54995?v=3","gravatar_id":"","url":"https://api.github.com/users/ejucovy","html_url":"https://github.com/ejucovy","followers_url":"https://api.github.com/users/ejucovy/followers","following_url":"https://api.github.com/users/ejucovy/following{/other_user}","gists_url":"https://api.github.com/users/ejucovy/gists{/gist_id}","starred_url":"https://api.github.com/users/ejucovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejucovy/subscriptions","organizations_url":"https://api.github.com/users/ejucovy/orgs","repos_url":"https://api.github.com/users/ejucovy/repos","events_url":"https://api.github.com/users/ejucovy/events{/privacy}","received_events_url":"https://api.github.com/users/ejucovy/received_events","type":"User","site_admin":false},"repo":{"id":50477399,"name":"django-opendebates","full_name":"ejucovy/django-opendebates","owner":{"login":"ejucovy","id":54995,"avatar_url":"https://avatars.githubusercontent.com/u/54995?v=3","gravatar_id":"","url":"https://api.github.com/users/ejucovy","html_url":"https://github.com/ejucovy","followers_url":"https://api.github.com/users/ejucovy/followers","following_url":"https://api.github.com/users/ejucovy/following{/other_user}","gists_url":"https://api.github.com/users/ejucovy/gists{/gist_id}","starred_url":"https://api.github.com/users/ejucovy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejucovy/subscriptions","organizations_url":"https://api.github.com/users/ejucovy/orgs","repos_url":"https://api.github.com/users/ejucovy/repos","events_url":"https://api.github.com/users/ejucovy/events{/privacy}","received_events_url":"https://api.github.com/users/ejucovy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ejucovy/django-opendebates","description":"","fork":true,"url":"https://api.github.com/repos/ejucovy/django-opendebates","forks_url":"https://api.github.com/repos/ejucovy/django-opendebates/forks","keys_url":"https://api.github.com/repos/ejucovy/django-opendebates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ejucovy/django-opendebates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ejucovy/django-opendebates/teams","hooks_url":"https://api.github.com/repos/ejucovy/django-opendebates/hooks","issue_events_url":"https://api.github.com/repos/ejucovy/django-opendebates/issues/events{/number}","events_url":"https://api.github.com/repos/ejucovy/django-opendebates/events","assignees_url":"https://api.github.com/repos/ejucovy/django-opendebates/assignees{/user}","branches_url":"https://api.github.com/repos/ejucovy/django-opendebates/branches{/branch}","tags_url":"https://api.github.com/repos/ejucovy/django-opendebates/tags","blobs_url":"https://api.github.com/repos/ejucovy/django-opendebates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ejucovy/django-opendebates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ejucovy/django-opendebates/git/refs{/sha}","trees_url":"https://api.github.com/repos/ejucovy/django-opendebates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ejucovy/django-opendebates/statuses/{sha}","languages_url":"https://api.github.com/repos/ejucovy/django-opendebates/languages","stargazers_url":"https://api.github.com/repos/ejucovy/django-opendebates/stargazers","contributors_url":"https://api.github.com/repos/ejucovy/django-opendebates/contributors","subscribers_url":"https://api.github.com/repos/ejucovy/django-opendebates/subscribers","subscription_url":"https://api.github.com/repos/ejucovy/django-opendebates/subscription","commits_url":"https://api.github.com/repos/ejucovy/django-opendebates/commits{/sha}","git_commits_url":"https://api.github.com/repos/ejucovy/django-opendebates/git/commits{/sha}","comments_url":"https://api.github.com/repos/ejucovy/django-opendebates/comments{/number}","issue_comment_url":"https://api.github.com/repos/ejucovy/django-opendebates/issues/comments{/number}","contents_url":"https://api.github.com/repos/ejucovy/django-opendebates/contents/{+path}","compare_url":"https://api.github.com/repos/ejucovy/django-opendebates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ejucovy/django-opendebates/merges","archive_url":"https://api.github.com/repos/ejucovy/django-opendebates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ejucovy/django-opendebates/downloads","issues_url":"https://api.github.com/repos/ejucovy/django-opendebates/issues{/number}","pulls_url":"https://api.github.com/repos/ejucovy/django-opendebates/pulls{/number}","milestones_url":"https://api.github.com/repos/ejucovy/django-opendebates/milestones{/number}","notifications_url":"https://api.github.com/repos/ejucovy/django-opendebates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ejucovy/django-opendebates/labels{/name}","releases_url":"https://api.github.com/repos/ejucovy/django-opendebates/releases{/id}","deployments_url":"https://api.github.com/repos/ejucovy/django-opendebates/deployments","created_at":"2016-01-27T03:01:08Z","updated_at":"2016-01-27T03:01:11Z","pushed_at":"2016-04-12T14:12:52Z","git_url":"git://github.com/ejucovy/django-opendebates.git","ssh_url":"git@github.com:ejucovy/django-opendebates.git","clone_url":"https://github.com/ejucovy/django-opendebates.git","svn_url":"https://github.com/ejucovy/django-opendebates","homepage":null,"size":3591,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"develop"}},"base":{"label":"caktus:develop","ref":"develop","sha":"9c783f2cf7926d08b46297be9c0fb7f56a451a48","user":{"login":"caktus","id":242157,"avatar_url":"https://avatars.githubusercontent.com/u/242157?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus","html_url":"https://github.com/caktus","followers_url":"https://api.github.com/users/caktus/followers","following_url":"https://api.github.com/users/caktus/following{/other_user}","gists_url":"https://api.github.com/users/caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus/subscriptions","organizations_url":"https://api.github.com/users/caktus/orgs","repos_url":"https://api.github.com/users/caktus/repos","events_url":"https://api.github.com/users/caktus/events{/privacy}","received_events_url":"https://api.github.com/users/caktus/received_events","type":"Organization","site_admin":false},"repo":{"id":50037167,"name":"django-opendebates","full_name":"caktus/django-opendebates","owner":{"login":"caktus","id":242157,"avatar_url":"https://avatars.githubusercontent.com/u/242157?v=3","gravatar_id":"","url":"https://api.github.com/users/caktus","html_url":"https://github.com/caktus","followers_url":"https://api.github.com/users/caktus/followers","following_url":"https://api.github.com/users/caktus/following{/other_user}","gists_url":"https://api.github.com/users/caktus/gists{/gist_id}","starred_url":"https://api.github.com/users/caktus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caktus/subscriptions","organizations_url":"https://api.github.com/users/caktus/orgs","repos_url":"https://api.github.com/users/caktus/repos","events_url":"https://api.github.com/users/caktus/events{/privacy}","received_events_url":"https://api.github.com/users/caktus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caktus/django-opendebates","description":"","fork":true,"url":"https://api.github.com/repos/caktus/django-opendebates","forks_url":"https://api.github.com/repos/caktus/django-opendebates/forks","keys_url":"https://api.github.com/repos/caktus/django-opendebates/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caktus/django-opendebates/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caktus/django-opendebates/teams","hooks_url":"https://api.github.com/repos/caktus/django-opendebates/hooks","issue_events_url":"https://api.github.com/repos/caktus/django-opendebates/issues/events{/number}","events_url":"https://api.github.com/repos/caktus/django-opendebates/events","assignees_url":"https://api.github.com/repos/caktus/django-opendebates/assignees{/user}","branches_url":"https://api.github.com/repos/caktus/django-opendebates/branches{/branch}","tags_url":"https://api.github.com/repos/caktus/django-opendebates/tags","blobs_url":"https://api.github.com/repos/caktus/django-opendebates/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caktus/django-opendebates/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caktus/django-opendebates/git/refs{/sha}","trees_url":"https://api.github.com/repos/caktus/django-opendebates/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caktus/django-opendebates/statuses/{sha}","languages_url":"https://api.github.com/repos/caktus/django-opendebates/languages","stargazers_url":"https://api.github.com/repos/caktus/django-opendebates/stargazers","contributors_url":"https://api.github.com/repos/caktus/django-opendebates/contributors","subscribers_url":"https://api.github.com/repos/caktus/django-opendebates/subscribers","subscription_url":"https://api.github.com/repos/caktus/django-opendebates/subscription","commits_url":"https://api.github.com/repos/caktus/django-opendebates/commits{/sha}","git_commits_url":"https://api.github.com/repos/caktus/django-opendebates/git/commits{/sha}","comments_url":"https://api.github.com/repos/caktus/django-opendebates/comments{/number}","issue_comment_url":"https://api.github.com/repos/caktus/django-opendebates/issues/comments{/number}","contents_url":"https://api.github.com/repos/caktus/django-opendebates/contents/{+path}","compare_url":"https://api.github.com/repos/caktus/django-opendebates/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caktus/django-opendebates/merges","archive_url":"https://api.github.com/repos/caktus/django-opendebates/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caktus/django-opendebates/downloads","issues_url":"https://api.github.com/repos/caktus/django-opendebates/issues{/number}","pulls_url":"https://api.github.com/repos/caktus/django-opendebates/pulls{/number}","milestones_url":"https://api.github.com/repos/caktus/django-opendebates/milestones{/number}","notifications_url":"https://api.github.com/repos/caktus/django-opendebates/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caktus/django-opendebates/labels{/name}","releases_url":"https://api.github.com/repos/caktus/django-opendebates/releases{/id}","deployments_url":"https://api.github.com/repos/caktus/django-opendebates/deployments","created_at":"2016-01-20T14:57:52Z","updated_at":"2016-02-05T12:36:01Z","pushed_at":"2016-04-12T14:05:43Z","git_url":"git://github.com/caktus/django-opendebates.git","ssh_url":"git@github.com:caktus/django-opendebates.git","clone_url":"https://github.com/caktus/django-opendebates.git","svn_url":"https://github.com/caktus/django-opendebates","homepage":null,"size":3580,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/caktus/django-opendebates/pulls/136"},"html":{"href":"https://github.com/caktus/django-opendebates/pull/136"},"issue":{"href":"https://api.github.com/repos/caktus/django-opendebates/issues/136"},"comments":{"href":"https://api.github.com/repos/caktus/django-opendebates/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/caktus/django-opendebates/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/caktus/django-opendebates/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caktus/django-opendebates/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/caktus/django-opendebates/statuses/9b93169e8a619530971ea45424bccbe13574d9ac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":186,"deletions":4,"changed_files":9}}