{"action":"created","comment":{"url":"https://api.github.com/repos/theonion/django-bulbs/pulls/comments/50713270","id":50713270,"diff_hunk":"@@ -0,0 +1,16 @@\n+from rest_framework.routers import DefaultRouter\n+\n+from .viewsets import PollViewSet, AnswerViewSet\n+\n+router = DefaultRouter(trailing_slash=True)\n+\n+api_v1_router = DefaultRouter()\n+api_v1_router.register(","path":"bulbs/poll/api.py","position":8,"original_position":8,"commit_id":"6f02b9b3bf6d8eb43198c4f084fb80c18462b967","original_commit_id":"6f02b9b3bf6d8eb43198c4f084fb80c18462b967","user":{"login":"mparent61","id":3155025,"avatar_url":"https://avatars.githubusercontent.com/u/3155025?v=3","gravatar_id":"","url":"https://api.github.com/users/mparent61","html_url":"https://github.com/mparent61","followers_url":"https://api.github.com/users/mparent61/followers","following_url":"https://api.github.com/users/mparent61/following{/other_user}","gists_url":"https://api.github.com/users/mparent61/gists{/gist_id}","starred_url":"https://api.github.com/users/mparent61/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mparent61/subscriptions","organizations_url":"https://api.github.com/users/mparent61/orgs","repos_url":"https://api.github.com/users/mparent61/repos","events_url":"https://api.github.com/users/mparent61/events{/privacy}","received_events_url":"https://api.github.com/users/mparent61/received_events","type":"User","site_admin":false},"body":"Combine also has an experimental precommit hook for Git that runs lint + tests. \r\n\r\nVIM has support for flake8 (I assume lots of editors do). Also created scripts/lint.\r\n\r\nFlake8 is pretty popular and just is a wrapper around \"pep8 and pyflakes\" linters.","created_at":"2016-01-25T16:03:59Z","updated_at":"2016-01-25T16:03:59Z","html_url":"https://github.com/theonion/django-bulbs/pull/96#discussion_r50713270","pull_request_url":"https://api.github.com/repos/theonion/django-bulbs/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/theonion/django-bulbs/pulls/comments/50713270"},"html":{"href":"https://github.com/theonion/django-bulbs/pull/96#discussion_r50713270"},"pull_request":{"href":"https://api.github.com/repos/theonion/django-bulbs/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/theonion/django-bulbs/pulls/96","id":55683960,"html_url":"https://github.com/theonion/django-bulbs/pull/96","diff_url":"https://github.com/theonion/django-bulbs/pull/96.diff","patch_url":"https://github.com/theonion/django-bulbs/pull/96.patch","issue_url":"https://api.github.com/repos/theonion/django-bulbs/issues/96","number":96,"state":"open","locked":false,"title":"elasticsearch.local config and readme","user":{"login":"collin","id":7783,"avatar_url":"https://avatars.githubusercontent.com/u/7783?v=3","gravatar_id":"","url":"https://api.github.com/users/collin","html_url":"https://github.com/collin","followers_url":"https://api.github.com/users/collin/followers","following_url":"https://api.github.com/users/collin/following{/other_user}","gists_url":"https://api.github.com/users/collin/gists{/gist_id}","starred_url":"https://api.github.com/users/collin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/collin/subscriptions","organizations_url":"https://api.github.com/users/collin/orgs","repos_url":"https://api.github.com/users/collin/repos","events_url":"https://api.github.com/users/collin/events{/privacy}","received_events_url":"https://api.github.com/users/collin/received_events","type":"User","site_admin":false},"body":"@mparent @benghaziboy @MichaelButkovic @kand\r\n\r\nAdded notes for running django-bulbs against the onion-services elasticsearch.\r\n\r\nIs this clear enough?\r\n\r\n### TODO\r\n- [ ] move things like `'Intentionally blank'` into constants\r\n- [ ] setup linter","created_at":"2016-01-11T21:56:29Z","updated_at":"2016-01-25T16:03:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82c3e9409b2d6deb999375051974da163d6a4ab6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/theonion/django-bulbs/pulls/96/commits","review_comments_url":"https://api.github.com/repos/theonion/django-bulbs/pulls/96/comments","review_comment_url":"https://api.github.com/repos/theonion/django-bulbs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theonion/django-bulbs/issues/96/comments","statuses_url":"https://api.github.com/repos/theonion/django-bulbs/statuses/6f02b9b3bf6d8eb43198c4f084fb80c18462b967","head":{"label":"theonion:polls","ref":"polls","sha":"6f02b9b3bf6d8eb43198c4f084fb80c18462b967","user":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"repo":{"id":15088276,"name":"django-bulbs","full_name":"theonion/django-bulbs","owner":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theonion/django-bulbs","description":"A set of reusable apps, marrying django-polymorphic, and elasticsearch.","fork":false,"url":"https://api.github.com/repos/theonion/django-bulbs","forks_url":"https://api.github.com/repos/theonion/django-bulbs/forks","keys_url":"https://api.github.com/repos/theonion/django-bulbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theonion/django-bulbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theonion/django-bulbs/teams","hooks_url":"https://api.github.com/repos/theonion/django-bulbs/hooks","issue_events_url":"https://api.github.com/repos/theonion/django-bulbs/issues/events{/number}","events_url":"https://api.github.com/repos/theonion/django-bulbs/events","assignees_url":"https://api.github.com/repos/theonion/django-bulbs/assignees{/user}","branches_url":"https://api.github.com/repos/theonion/django-bulbs/branches{/branch}","tags_url":"https://api.github.com/repos/theonion/django-bulbs/tags","blobs_url":"https://api.github.com/repos/theonion/django-bulbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theonion/django-bulbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theonion/django-bulbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/theonion/django-bulbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theonion/django-bulbs/statuses/{sha}","languages_url":"https://api.github.com/repos/theonion/django-bulbs/languages","stargazers_url":"https://api.github.com/repos/theonion/django-bulbs/stargazers","contributors_url":"https://api.github.com/repos/theonion/django-bulbs/contributors","subscribers_url":"https://api.github.com/repos/theonion/django-bulbs/subscribers","subscription_url":"https://api.github.com/repos/theonion/django-bulbs/subscription","commits_url":"https://api.github.com/repos/theonion/django-bulbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/theonion/django-bulbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/theonion/django-bulbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/theonion/django-bulbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/theonion/django-bulbs/contents/{+path}","compare_url":"https://api.github.com/repos/theonion/django-bulbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theonion/django-bulbs/merges","archive_url":"https://api.github.com/repos/theonion/django-bulbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theonion/django-bulbs/downloads","issues_url":"https://api.github.com/repos/theonion/django-bulbs/issues{/number}","pulls_url":"https://api.github.com/repos/theonion/django-bulbs/pulls{/number}","milestones_url":"https://api.github.com/repos/theonion/django-bulbs/milestones{/number}","notifications_url":"https://api.github.com/repos/theonion/django-bulbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theonion/django-bulbs/labels{/name}","releases_url":"https://api.github.com/repos/theonion/django-bulbs/releases{/id}","deployments_url":"https://api.github.com/repos/theonion/django-bulbs/deployments","created_at":"2013-12-10T20:16:10Z","updated_at":"2016-01-11T22:45:34Z","pushed_at":"2016-01-22T21:53:01Z","git_url":"git://github.com/theonion/django-bulbs.git","ssh_url":"git@github.com:theonion/django-bulbs.git","clone_url":"https://github.com/theonion/django-bulbs.git","svn_url":"https://github.com/theonion/django-bulbs","homepage":null,"size":5877,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":23,"default_branch":"master"}},"base":{"label":"theonion:master","ref":"master","sha":"7775eed4c761f9eac8aef2050017920128293f95","user":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"repo":{"id":15088276,"name":"django-bulbs","full_name":"theonion/django-bulbs","owner":{"login":"theonion","id":61816,"avatar_url":"https://avatars.githubusercontent.com/u/61816?v=3","gravatar_id":"","url":"https://api.github.com/users/theonion","html_url":"https://github.com/theonion","followers_url":"https://api.github.com/users/theonion/followers","following_url":"https://api.github.com/users/theonion/following{/other_user}","gists_url":"https://api.github.com/users/theonion/gists{/gist_id}","starred_url":"https://api.github.com/users/theonion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theonion/subscriptions","organizations_url":"https://api.github.com/users/theonion/orgs","repos_url":"https://api.github.com/users/theonion/repos","events_url":"https://api.github.com/users/theonion/events{/privacy}","received_events_url":"https://api.github.com/users/theonion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theonion/django-bulbs","description":"A set of reusable apps, marrying django-polymorphic, and elasticsearch.","fork":false,"url":"https://api.github.com/repos/theonion/django-bulbs","forks_url":"https://api.github.com/repos/theonion/django-bulbs/forks","keys_url":"https://api.github.com/repos/theonion/django-bulbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theonion/django-bulbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theonion/django-bulbs/teams","hooks_url":"https://api.github.com/repos/theonion/django-bulbs/hooks","issue_events_url":"https://api.github.com/repos/theonion/django-bulbs/issues/events{/number}","events_url":"https://api.github.com/repos/theonion/django-bulbs/events","assignees_url":"https://api.github.com/repos/theonion/django-bulbs/assignees{/user}","branches_url":"https://api.github.com/repos/theonion/django-bulbs/branches{/branch}","tags_url":"https://api.github.com/repos/theonion/django-bulbs/tags","blobs_url":"https://api.github.com/repos/theonion/django-bulbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theonion/django-bulbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theonion/django-bulbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/theonion/django-bulbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theonion/django-bulbs/statuses/{sha}","languages_url":"https://api.github.com/repos/theonion/django-bulbs/languages","stargazers_url":"https://api.github.com/repos/theonion/django-bulbs/stargazers","contributors_url":"https://api.github.com/repos/theonion/django-bulbs/contributors","subscribers_url":"https://api.github.com/repos/theonion/django-bulbs/subscribers","subscription_url":"https://api.github.com/repos/theonion/django-bulbs/subscription","commits_url":"https://api.github.com/repos/theonion/django-bulbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/theonion/django-bulbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/theonion/django-bulbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/theonion/django-bulbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/theonion/django-bulbs/contents/{+path}","compare_url":"https://api.github.com/repos/theonion/django-bulbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theonion/django-bulbs/merges","archive_url":"https://api.github.com/repos/theonion/django-bulbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theonion/django-bulbs/downloads","issues_url":"https://api.github.com/repos/theonion/django-bulbs/issues{/number}","pulls_url":"https://api.github.com/repos/theonion/django-bulbs/pulls{/number}","milestones_url":"https://api.github.com/repos/theonion/django-bulbs/milestones{/number}","notifications_url":"https://api.github.com/repos/theonion/django-bulbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theonion/django-bulbs/labels{/name}","releases_url":"https://api.github.com/repos/theonion/django-bulbs/releases{/id}","deployments_url":"https://api.github.com/repos/theonion/django-bulbs/deployments","created_at":"2013-12-10T20:16:10Z","updated_at":"2016-01-11T22:45:34Z","pushed_at":"2016-01-22T21:53:01Z","git_url":"git://github.com/theonion/django-bulbs.git","ssh_url":"git@github.com:theonion/django-bulbs.git","clone_url":"https://github.com/theonion/django-bulbs.git","svn_url":"https://github.com/theonion/django-bulbs","homepage":null,"size":5877,"stargazers_count":23,"watchers_count":23,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":8,"forks":3,"open_issues":8,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theonion/django-bulbs/pulls/96"},"html":{"href":"https://github.com/theonion/django-bulbs/pull/96"},"issue":{"href":"https://api.github.com/repos/theonion/django-bulbs/issues/96"},"comments":{"href":"https://api.github.com/repos/theonion/django-bulbs/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/theonion/django-bulbs/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/theonion/django-bulbs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theonion/django-bulbs/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/theonion/django-bulbs/statuses/6f02b9b3bf6d8eb43198c4f084fb80c18462b967"}}}}