{"action":"created","comment":{"url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/comments/25694099","id":25694099,"diff_hunk":"@@ -31,7 +31,7 @@ def index_queryset(self, using=None):\n         return qs\n \n     def get_index_queryset(self, language):\n-        return self.get_model().objects.active_translations(\n+        return self.get_model().published.active_translations(","path":"aldryn_newsblog/search_indexes.py","position":5,"original_position":5,"commit_id":"752d3a017f3f5c1d445f624f48dfd22287de385f","original_commit_id":"752d3a017f3f5c1d445f624f48dfd22287de385f","user":{"login":"chronossc","id":208856,"avatar_url":"https://avatars.githubusercontent.com/u/208856?v=3","gravatar_id":"","url":"https://api.github.com/users/chronossc","html_url":"https://github.com/chronossc","followers_url":"https://api.github.com/users/chronossc/followers","following_url":"https://api.github.com/users/chronossc/following{/other_user}","gists_url":"https://api.github.com/users/chronossc/gists{/gist_id}","starred_url":"https://api.github.com/users/chronossc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chronossc/subscriptions","organizations_url":"https://api.github.com/users/chronossc/orgs","repos_url":"https://api.github.com/users/chronossc/repos","events_url":"https://api.github.com/users/chronossc/events{/privacy}","received_events_url":"https://api.github.com/users/chronossc/received_events","type":"User","site_admin":false},"body":"Replace by `self.get_model().objects.published().active_translations(`","created_at":"2015-03-03T15:10:14Z","updated_at":"2015-03-03T15:10:14Z","html_url":"https://github.com/aldryn/aldryn-newsblog/pull/86#discussion_r25694099","pull_request_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/comments/25694099"},"html":{"href":"https://github.com/aldryn/aldryn-newsblog/pull/86#discussion_r25694099"},"pull_request":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86","id":30370803,"html_url":"https://github.com/aldryn/aldryn-newsblog/pull/86","diff_url":"https://github.com/aldryn/aldryn-newsblog/pull/86.diff","patch_url":"https://github.com/aldryn/aldryn-newsblog/pull/86.patch","issue_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/86","number":86,"state":"open","locked":false,"title":"Use default manager for all objects, separate manager - for published","user":{"login":"mikek","id":88083,"avatar_url":"https://avatars.githubusercontent.com/u/88083?v=3","gravatar_id":"","url":"https://api.github.com/users/mikek","html_url":"https://github.com/mikek","followers_url":"https://api.github.com/users/mikek/followers","following_url":"https://api.github.com/users/mikek/following{/other_user}","gists_url":"https://api.github.com/users/mikek/gists{/gist_id}","starred_url":"https://api.github.com/users/mikek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikek/subscriptions","organizations_url":"https://api.github.com/users/mikek/orgs","repos_url":"https://api.github.com/users/mikek/repos","events_url":"https://api.github.com/users/mikek/events{/privacy}","received_events_url":"https://api.github.com/users/mikek/received_events","type":"User","site_admin":false},"body":"Solves this issue: https://github.com/aldryn/aldryn-newsblog/issues/74","created_at":"2015-03-03T12:54:19Z","updated_at":"2015-03-03T15:10:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d414c90364117dbb843f9529b2e3a0906e12e6ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86/commits","review_comments_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86/comments","review_comment_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/86/comments","statuses_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/statuses/752d3a017f3f5c1d445f624f48dfd22287de385f","head":{"label":"aldryn:issue/default-manager","ref":"issue/default-manager","sha":"752d3a017f3f5c1d445f624f48dfd22287de385f","user":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"repo":{"id":27823188,"name":"aldryn-newsblog","full_name":"aldryn/aldryn-newsblog","owner":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aldryn/aldryn-newsblog","description":"A combined news/weblog application for Aldryn and django CMS","fork":false,"url":"https://api.github.com/repos/aldryn/aldryn-newsblog","forks_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/forks","keys_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/teams","hooks_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/hooks","issue_events_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/events{/number}","events_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/events","assignees_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/assignees{/user}","branches_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/branches{/branch}","tags_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/tags","blobs_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/statuses/{sha}","languages_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/languages","stargazers_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/stargazers","contributors_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/contributors","subscribers_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/subscribers","subscription_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/subscription","commits_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/contents/{+path}","compare_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/merges","archive_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/downloads","issues_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues{/number}","pulls_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls{/number}","milestones_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/milestones{/number}","notifications_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/labels{/name}","releases_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/releases{/id}","created_at":"2014-12-10T14:22:45Z","updated_at":"2015-03-02T23:42:20Z","pushed_at":"2015-03-03T14:04:10Z","git_url":"git://github.com/aldryn/aldryn-newsblog.git","ssh_url":"git@github.com:aldryn/aldryn-newsblog.git","clone_url":"https://github.com/aldryn/aldryn-newsblog.git","svn_url":"https://github.com/aldryn/aldryn-newsblog","homepage":"","size":2322,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":16,"forks":2,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"aldryn:master","ref":"master","sha":"abfa71bee7171322d83072cc5c1d930a6c808366","user":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"repo":{"id":27823188,"name":"aldryn-newsblog","full_name":"aldryn/aldryn-newsblog","owner":{"login":"aldryn","id":4201738,"avatar_url":"https://avatars.githubusercontent.com/u/4201738?v=3","gravatar_id":"","url":"https://api.github.com/users/aldryn","html_url":"https://github.com/aldryn","followers_url":"https://api.github.com/users/aldryn/followers","following_url":"https://api.github.com/users/aldryn/following{/other_user}","gists_url":"https://api.github.com/users/aldryn/gists{/gist_id}","starred_url":"https://api.github.com/users/aldryn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldryn/subscriptions","organizations_url":"https://api.github.com/users/aldryn/orgs","repos_url":"https://api.github.com/users/aldryn/repos","events_url":"https://api.github.com/users/aldryn/events{/privacy}","received_events_url":"https://api.github.com/users/aldryn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aldryn/aldryn-newsblog","description":"A combined news/weblog application for Aldryn and django CMS","fork":false,"url":"https://api.github.com/repos/aldryn/aldryn-newsblog","forks_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/forks","keys_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/teams","hooks_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/hooks","issue_events_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/events{/number}","events_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/events","assignees_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/assignees{/user}","branches_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/branches{/branch}","tags_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/tags","blobs_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/refs{/sha}","trees_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/statuses/{sha}","languages_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/languages","stargazers_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/stargazers","contributors_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/contributors","subscribers_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/subscribers","subscription_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/subscription","commits_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/commits{/sha}","git_commits_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/git/commits{/sha}","comments_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/comments{/number}","issue_comment_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/comments{/number}","contents_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/contents/{+path}","compare_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/merges","archive_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/downloads","issues_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues{/number}","pulls_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls{/number}","milestones_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/milestones{/number}","notifications_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/labels{/name}","releases_url":"https://api.github.com/repos/aldryn/aldryn-newsblog/releases{/id}","created_at":"2014-12-10T14:22:45Z","updated_at":"2015-03-02T23:42:20Z","pushed_at":"2015-03-03T14:04:10Z","git_url":"git://github.com/aldryn/aldryn-newsblog.git","ssh_url":"git@github.com:aldryn/aldryn-newsblog.git","clone_url":"https://github.com/aldryn/aldryn-newsblog.git","svn_url":"https://github.com/aldryn/aldryn-newsblog","homepage":"","size":2322,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":16,"forks":2,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86"},"html":{"href":"https://github.com/aldryn/aldryn-newsblog/pull/86"},"issue":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/86"},"comments":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/aldryn/aldryn-newsblog/statuses/752d3a017f3f5c1d445f624f48dfd22287de385f"}}}}